suppose u hav 1 book with set...page 1-100 n 101 -200
now print page from 2-100 n 102 -200...
how we will do..?
Answers were Sorted based on User's Feedback
Answer / rajesh venati
Actually i didn't get u r question exactly, As per above
question, it will also work
select page_no from book where page_no not in(1,101);
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / tamilarasan
Say you have table with column "page_no" starts from 1 to
200.
Run the below query to get the desired answer
select page_no from book1 where mod(page_no,100) != 1
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / tamilarasan
If you run this query select page_no from book1 where mod
(page_no,100) != 1
in a single column u will get the page nos as follows
RESULT
-------
2.
...
100
102
...
200
Is this the one you want?
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / tarun
select page_no from book1 where page_no between 2 and 100 or
page_no between 102 and 200
| Is This Answer Correct ? | 3 Yes | 0 No |
What are different types of triggers?
When the mutating error will comes? and how it will be resolved?
What are the basic sql commands?
What do you mean by stored procedures? How do we use it?
What steps server process has to take to execute an update statement?
How would you hide a table in sql. ie the table can be only visible to its maker?
What is sql and how does it work?
How do you remove duplicates without using distinct in sql?
what is data integrity? : Sql dba
what is a table called, if it has neither cluster nor non-cluster index? What is it used for? : Sql dba
How many rows can sqlite handle?
Is pl sql a programming language?
Oracle (3259)
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)