what is the output for this query
select * from employee where 1=1;
Answers were Sorted based on User's Feedback
Answer / soorai ganesh
This Query will return all records from employee table.
Infact insteadof this query u can use " select * from employee ".Because the condition 1=1 is always true.It never become as false.
Both of the Queries are same..........
| Is This Answer Correct ? | 20 Yes | 0 No |
Answer / amit kumar
here...retrieve all column and records of employee. and
there is condition 1 = 1 is always true if 1 value in any
column.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / mohanakrishna
The querry display the total table information present in
the database.
EID ENAME MID
101 rama null
102 sita 101
103 siva 101
104 ganesh 103
| Is This Answer Correct ? | 5 Yes | 1 No |
i have a table student like sname ----- ram ram ram raj raj raj i need the output like sname ----- ram raj ram raj ram raj
Why do we use sql limitations? Which constraints can we use while making a database in sql?
does physical index sort data
Can a unique index be created on a column, which contains null?
How much is a sql server license?
What are the advantages of using sql server over ms access or why should one use sql instead of ms access
you have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation? : Sql server administration
what is isolation level at dead lock?
What is shared lock?
What are constraints? Explain different types of constraints?
26 Answers Emsang, Kendriya Vidyalaya(Kvs), Polaris, Wipro,
How to select nth record from a table?
13 Answers DELL, Microsoft, Ramco,
What is the query optimization statistics?
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)