what is the syntax of SELECT command?
Answers were Sorted based on User's Feedback
Answer / vsubbaiah
Select Distinct |fields * | from table name
where condition
group by column list
having grouped column
order by column
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / poovitha
select * from employee
Here,
employee refers "TABLE NAME"
* refers all records in the table
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / shree
select field1,field2,.........field n
from table nane
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / mohammed ashfaq
SELECT attr1,attr2..attrn
FROM TABLE1,TABLE2..TABLEn;
(IT IS SIMPLE SELECT)
(FOR COMPLEX SELECT)
SELECT attr1,attr2..attrn
FROM TABLE1,TABLE2..TABLEn
WHERE CONDITION;
Is This Answer Correct ? | 0 Yes | 2 No |
Hi Every One , What is the table Space in Oracle Database ? waiting for answere and thankyou
What is an index associated with a constraint?
how to retrieve 1st and last row of table without using group functions??
SQL> CREATE TABLE to_table 2 (col1 NUMBER); Table created. SQL> CREATE OR REPLACE TRIGGER statement_trigger 2 AFTER INSERT ON to_table 3 BEGIN 4 DBMS_OUTPUT.PUT_LINE('After Insert Statement Level'); 5 END; 6 / Trigger created. SQL> CREATE OR REPLACE TRIGGER row_trigger 2 AFTER INSERT ON to_table 3 FOR EACH ROW 4 BEGIN 5 DBMS_OUTPUT.PUT_LINE('After Insert Row Level'); 6 END; 7 / Trigger created. SQL> INSERT INTO TO_TABLE VALUES(1); After Insert Row Level After Insert Statement Level 1 row created. SQL> BEGIN 2 INSERT INTO TO_TABLE VALUES(2); 3 INSERT INTO TO_TABLE VALUES(3); 4 INSERT INTO TO_TABLE VALUES(4); 5 INSERT INTO TO_TABLE VALUES(5); 6 INSERT INTO TO_TABLE VALUES(6); 7 INSERT INTO TO_TABLE VALUES(7); 8 INSERT INTO TO_TABLE VALUES(8); 9 INSERT INTO TO_TABLE VALUES(9); 10 INSERT INTO TO_TABLE VALUES(0); 11 END; 12 / WAT LL BE THE O/P??? XPLAIN IT>>>>
What is the max number of columns in an oracle table?
What is recovery manager(rman) backup in Oracle?
What is Water Mark in Oracle?
How can I see all tables in oracle?
What is a nvl function? How can it be used?
Explain the difference between a procedure and a function?
What are the factors causing the reparsing of SQL statements in SGA?
Differentiate between translate and replace?