Consider the table T1 it consits
A,2,3,4
consider another table t2 it contain
1,2a,3a,4a
now i need o get the upadted answer
Answers were Sorted based on User's Feedback
Answer / rakesh c sunagar
--select name from #t where ISNUMERIC(name)<>1
--union
--select name from #t1
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajesh
to get zero u must apply intersect set statement between
select statements of table1 and select statement of table2
syntax:
select * from t1
intersect
select * from t2
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sreekanthb87
t1
A,2,3,4
t2
1,2a,3a,4a
now union of tw0 table must be
A,1,2,2a,3,3a,4,4a
now how you write the qurey ,the answer should be
A,1,2a,3a,4a
| Is This Answer Correct ? | 1 Yes | 4 No |
What is the data type of time?
What is the difference between implicit and explicit transaction?
Explain the types of indexes.
what is a self join? Explain it with an example? : Sql server database administration
What is openxml in sql server?
Difference between Triggers and Stored Procedure
23 Answers Claimat, HCL, Protech, Silgate,
What is clustered index
Can we perform backup restore operation on tempdb? : sql server database administration
Name three of the features managed by the surface area configuration tool? : sql server security
What is DCL?
What are difference between Cluster index and Non-Cluster index?
Write an SQL query if u want to select the data from one block which intern reflects in another block ? thanx,do reply
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)