Explain the general syntax for a SELECT statements covering
all the options.
Answers were Sorted based on User's Feedback
Answer / us
SELECT select_list
[INTO new_table_]
FROM table_source
[WHERE search_condition]
[GROUP BY group_by_expression]
[HAVING search_condition]
[ORDER BY order_expression [ASC | DESC]
Is This Answer Correct ? | 12 Yes | 1 No |
Answer / rosemary masha
select* from table name
where last name='Faina'
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / dinesh sharma
select * from tablename(select all fields of the tables)
select f1,f2 from tablename (select selected fields(like
f1,f2)
select f1,f2,2 [f3] from tablename(select selected fields
plus one fields having default value is 2)
Is This Answer Correct ? | 0 Yes | 6 No |
What is an extended stored procedure?
How long can an error message be in raiseerror function?
what is the use of foreginkey
Can an extended stored procedure be called from inside a user-defined function?
How you can make a parameterized view?
To convert IDMS to DB2, how to deal with IDMS occurs and redefined clause?
You are testing the performance of a query the first time you run the query, the performance is slow. the second time you run the query, the performance is fast. why is this?
What is the system function to get the current user's user id?
What are the three basic rules which are to be followed for the relational model of the database?
In which table collections errors are stored.
What is denormalization and when would you go for it?
Define candidate key, alternate key, composite key?
30 Answers IAS, IBM,