Explain the general syntax for a SELECT statements covering
all the options.

Answers were Sorted based on User's Feedback



Explain the general syntax for a SELECT statements covering all the options...

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

Explain the general syntax for a SELECT statements covering all the options...

Answer / rosemary masha

select* from table name
where last name='Faina'

Is This Answer Correct ?    1 Yes 1 No

Explain the general syntax for a SELECT statements covering all the options...

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

Post New Answer

More DB Development Interview Questions

What is an extended stored procedure?

1 Answers  


How long can an error message be in raiseerror function?

0 Answers  


what is the use of foreginkey

2 Answers  


Can an extended stored procedure be called from inside a user-defined function?

0 Answers  


How you can make a parameterized view?

0 Answers  






To convert IDMS to DB2, how to deal with IDMS occurs and redefined clause?

0 Answers  


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?

0 Answers  


What is the system function to get the current user's user id?

4 Answers  


What are the three basic rules which are to be followed for the relational model of the database?

0 Answers  


In which table collections errors are stored.

0 Answers  


What is denormalization and when would you go for it?

9 Answers   NBP,


Define candidate key, alternate key, composite key?

30 Answers   IAS, IBM,


Categories