SQLplus basics
Several useful commands.
Basic Retrieval from single table
SELECT [DISTINCT] display_fields
FROM tables
WHERE field_conditions
ORDER BY field_name [ASC | DESC];
e.g: select * from MethodParameter;
e.g: select * from MethodParameter where NAME=DUNHAM;
Delete the whole content of table
DROP TABLE tablename;
e.g: drop table MethodParameter;
Delete one or more records from a table
DELETE FROM table_name
WHERE record_retrieval_conditions;
e.g: delete from MethodParameter where NAME='DUNHAM BUSH';
Basic Retrieval from single table
SELECT [DISTINCT] display_fields
FROM tables
WHERE field_conditions
ORDER BY field_name [ASC | DESC];
e.g: select * from MethodParameter;
e.g: select * from MethodParameter where NAME=DUNHAM;
Delete the whole content of table
DROP TABLE tablename;
e.g: drop table MethodParameter;
Delete one or more records from a table
DELETE FROM table_name
WHERE record_retrieval_conditions;
e.g: delete from MethodParameter where NAME='DUNHAM BUSH';
Comments