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

Can sql servers link to other servers?

0 Answers  


What is a field in a table?

0 Answers  


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

0 Answers  


Do you know what guidelines should be followed to help minimize deadlocks?

0 Answers  


What are different types of views?

0 Answers  






difference between truncate, delete aur drop?

2 Answers  


Explain full-text indexing?

0 Answers  


What is difference statement and preparedstatement?

0 Answers  


How many types of triggers are there?

0 Answers  


explain the storage models of olap? : Sql server database administration

0 Answers  


What is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio

0 Answers  


Tell me can we use custom code in ssrs?

0 Answers  


Categories