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

What is the use of tempdb? What values does it hold?

0 Answers   Abacus,


What is an inner join?

0 Answers  


Do you know what is raid and what are different types of raid configurations? : SQL Server Architecture

0 Answers  


How do I delete a sql server database?

0 Answers  


What is plan freezing?

0 Answers  


What are the essential components of sql server service broker?

0 Answers  


Can we create a clustered index on composite primary key.

3 Answers   IGT,


What is the difference between cube operator and rollup operator? : SQL Server Architecture

0 Answers  


Difference between primary key and clustered index?

0 Answers  


What are the authentication modes in sql server? How can it be changed?

0 Answers  


What is an indexing technique?

0 Answers  


What do you mean by collation recursive stored procedure?

0 Answers  


Categories