Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

SQL Interview Questions

$
0
0

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



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>