Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I have a table Events

Events containing

cardno,time,id,name--each id has a cardno



my requirement is every day each employee swipe the card
several times

i want to calculate first and last time of each card

the output should be

name 1 2
6 7
in out in out
holiday holiday
xxx 09:30 06:30 09:40 06:45
where 1,2...... are dates for example january 1,2, etc. 6
and 7 are saturday and sunday

how it is posssible


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More SQL Server Interview Questions

Explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?

0 Answers  


What is the maximum size of a row in sql server?

0 Answers  


How to truncate a table first before running a package?

1 Answers  


How do I view a procedure in sql server?

0 Answers  


Explain the ways to controlling cursor behavior?

0 Answers  


How will u test the stroded procedures and functions? difference between SP and Triggers

2 Answers   TCS,


I have student marks in a student table. I need second highest mark .Then what will the query for this?

37 Answers   NetCore, Patni, SAP Labs, Temenos, Wipro,


Do you know what is openxml in sql server?

0 Answers  


What is temporal table?

0 Answers  


What is difference between table aliases and column aliases? Do they affect performance?

0 Answers  


internal language used in sql server 2000?

2 Answers  


please differentiate between delete and truncate?

0 Answers  


Categories