sql query to get zero records from a table having n no of
records
Answer Posted / mallik
select * from table_name where rownum < n -(n-1)
--where 'n' is no of rows.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is a file delimiter?
What is the usage of nvl function?
How can we find duplicate records in a table?
What are aggregate and scalar functions?
What is difference between sql function and stored procedure?
What is a native sql query?
What are inner outer left and right joins in sql?
What is sqlerrd?
When is the update_statistics command used?
Name the operator which is used in the query for pattern matching?
Can triggers stop a dml statement from executing on a table?
how do you know the version of your mysql server? : Sql dba
Differentiate between syntax and runtime errors.
what are the disadvantages of mysql? : Sql dba
what are the maximum number of rows that can be constructed by inserting rows directly in value list? : Transact sql