sql query to get zero records from a table having n no of
records
Answers were Sorted based on User's Feedback
Answer / mallik
select * from table_name where rownum < n -(n-1)
--where 'n' is no of rows.
| Is This Answer Correct ? | 3 Yes | 1 No |
Why we use sql profiler?
What is a schema? How is it useful in sql servers?
In a package if we have 10 procedures or functions,How to know which will execute first?
What are the benefits of pl sql?
What are indexes, and what are the different types?
What is snowflake sql?
what is row? : Sql dba
Define join and name different types of joins?
Can a trigger call a stored procedure?
what are the type of locks ? : Sql dba
How to execute multiple sql statements in a single annonymous block irrespective of the sql statement result?
What is an ndf file?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)