Hi all,
I need query help for below senorio, could you please help
me.
TableName = City
CITYID ContinuationID CITYNAME
1 1 SAN
1 2 DIEGO
2 1 SAN
2 2 FRANCISCO
3 1 CHICAGO
4 1 NEW
4 2 YORK
4 3 CITY
Could you please help me to write a generalized SQL that
returns results as given below in the
Query result
CITYID NAME1 NAME2 NAME3 NAME4 NAME5
1 SAN DIEGO
2 SAN FRANCISCO
3 CHICAGO
4 NEW YORK CITY
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
What is the difference between in and exists.
Ex: select * from emp where empno in(....) and
select * from emp where empno exists(....)
What is the difference between a Join and Union and Union
and UnionAll.
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
Delete duplicate records from the table?(Table must have
unique id)
Answer
Is This Answer Correct ? | 2 Yes | 0 No |
Question { 3896 }
Simple example for difference between select and cursor in sql
Answer
Is This Answer Correct ? | 1 Yes | 0 No |
What Is The Difference Between Primary Key & Super Key
Answer
Is This Answer Correct ? | 11 Yes | 0 No |
Question { 5062 }
I have Two table First have UserName and second is address,
in address table more than value relegated to UserName
table, i want to fetch 2nd address if exist other wise 1st
address access
Answer
Is This Answer Correct ? | 3 Yes | 0 No |
Explain SELF JOIN ?
Answer
Is This Answer Correct ? | 3 Yes | 0 No |
Define Foreign Key?
Answer
Is This Answer Correct ? | 10 Yes | 0 No |
Question { 5676 }
Can anyone explain difference between Database, Data warehouse
and Data mart with some example?````
Answer
Is This Answer Correct ? | 0 Yes | 0 No |
difference between function and procedure
Answer
Is This Answer Correct ? | 0 Yes | 0 No |