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

Why variables called the most powerful component of ssis?

0 Answers  


Explain few of the new features of sql server 2008 management studio

0 Answers  


What are commonly used odbc functions in php?

0 Answers  


Give me any three differences between Truncate and Delete.

0 Answers   Genpact,


One table Test with single column. These are the values in the table a b c d e f g h I need a query (without using any variable) with output as - a b c d e f g h

1 Answers  


how to delete duplicate rows in sql server2005

7 Answers   Cisco, CTS, HCL, IBM,


What are three ways you can use an identity value inside a trigger? Why would you prefer one way over another?

0 Answers  


How can sql server instances be hidden?

0 Answers  


What is the advantage of sql server?

0 Answers  


What is a cursor, index in sql?

0 Answers  


What are the basic functions for master, msdb, model, tempdb databases?

0 Answers  


How connect excel to sql server?

0 Answers  


Categories