There is a table1 with records (1,2,3,4,5,6) and table2
with records (4,5,6,7,8,9).write a query so as to get the
result as 1,2,3,4,5,6,7,8,9
Answers were Sorted based on User's Feedback
Answer / guru
Union gives the result in two records
We have to use cross join like below
select * from table1,table2
| Is This Answer Correct ? | 0 Yes | 8 No |
How do you check sql server is up and running?
What are “lock” hints?
What is a stored procedure?
What are the purposes of floor and sign functions?
How m-m relationships are implemented?
How will you make an attribute not process? : sql server analysis services, ssas
What are the built in functions in sql server?
Explain query editor regions
What are types of storage modes? : sql server analysis services, ssas
Explain the database you used in your final year project?
What is the contrast amongst drop and truncate?
How to execute function in stored procedure sql server?
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)