Quantcast
Viewing all articles
Browse latest Browse all 23857

SQL Interview Questions

Hi all

How to answer below questions in interviews.

1) I need to design the two tables customer and address tables.In customer table i have different customers,every customer have different address and  same address have few customers.I want use only 2 tables and how to design the table

2)  created non clustered index IDX1 on(ssn,firstname,last name)

    crated non clustered index IDX2  on  ssn includes(firstname,lastname)

what is difference between approach 1 and 2

Thanks

CMK...


Viewing all articles
Browse latest Browse all 23857

Trending Articles