Test Results:

1.
+----<Result of SELECT Command>--------------<1 of 1>----------------+
| name:          'Ann Kay'                                                    
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                       
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

2.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Hat Pay'                                                    
| birthdate:     05/20/1972                                                    
| checkin_time:  NULL                                                          
| checkout_time: NULL                                                         
| project_time:  12:00:30 PM                                                 
+------------------------------------------------------------------------------+

3.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Bob May'                                                    
| birthdate:     02/05/1970                                                   
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                       
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

4.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| date '02/15/1970'-date '02/05/1970': 10                                      
+------------------------------------------------------------------------------+

5.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| time '12:00:30 pm'-time '11:00:30 am': 3600                                  
+------------------------------------------------------------------------------+

6.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| timestamp '02/01/1997 8:20:20 am'-timestamp '02/01/1997 8:10:10 am': 610     
+------------------------------------------------------------------------------+


7.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Kat Day'                                                    
| birthdate:     04/20/1971                                                    
| checkin_time:  09:10:20 AM 02/01/1997                                        
| checkout_time: 05:20:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+ 

8.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ann Kay'                                                    
| birthdate:     01/01/1970                                                   
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

9.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ann Kay'                                                   
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

10.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ann Kay'                                                    
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

11.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

12.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

13.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

14.
+----<Result of SELECT Command>-------------<1 of 6>----------------+
| name:          'Mat Hay'                                                     
| birthdate:     05/10/1972                                                    
| checkin_time:  09:20:30 AM 02/01/1997                                        
| checkout_time: 05:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+
+----<Result of SELECT Command>-------------<2 of 6>----------------+
| name:          'Kat Day'                                                     
| birthdate:     04/20/1971                                                    
| checkin_time:  09:10:20 AM 02/01/1997                                        
| checkout_time: 05:20:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+
+----<Result of SELECT Command>-------------<3 of 6>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+
+----<Result of SELECT Command>-------------<4 of 6>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                         
+------------------------------------------------------------------------------+
+----<Result of SELECT Command>-------------<5 of 6>----------------+
| name:          'Hat Pay'                                                     
| birthdate:     05/20/1972                                                    
| checkin_time:  NULL                                                          
| checkout_time: NULL                                                          
| project_time:  12:00:30 PM                                                   
+------------------------------------------------------------------------------+
----<Result of SELECT Command>-------------<6 of 6>----------------+
| name:          'Hat Pay'                                                     
| birthdate:     05/20/1972                                                    
| checkin_time:  NULL                                                          
| checkout_time: NULL                                                          
| project_time:  12:00:30 PM                                                   
+------------------------------------------------------------------------------+

15.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+


16.
+----<Result of SELECT Command>-------------<1 of 2>----------------+
| birthdate:     NULL                                                          
+------------------------------------------------------------------------------+

17.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

18.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

19.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

20.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

21.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

22.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

23.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

24.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| date '02/15/1970'-date '01/01/1970': 45                                      
+------------------------------------------------------------------------------+

25.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

26.
+----<Result of SELECT Command>------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

27.
+----<Result of SELECT Command>------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                         
+------------------------------------------------------------------------------+

28.
+----<Result of SELECT Command>------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

29.
+----<Result of SELECT Command>------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

30.
+----<Result of SELECT Command>--------------<1 of 1>----------------+
|  cast(birthdate as date): 01/01/1970                                         
+------------------------------------------------------------------------------+

31.
+----<Result of SELECT Command>--------------<1 of 1>----------------+
|  cast(project_time as time): 12:00:30 PM                                     
+------------------------------------------------------------------------------+

32.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
|  cast(checkin_time as date): 02/01/1997                                      
+------------------------------------------------------------------------------+

33.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
|  cast(checkin_time as time): 08:10:10 AM                                     
+------------------------------------------------------------------------------+

34.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
|  cast(birthdate as char(10)): '1/1/1970  '                                   
+------------------------------------------------------------------------------+

35.
+----<Result of SELECT Command>--------------<1 of 1>----------------+
|  cast(10 as char(2)): '10'                                                   
+------------------------------------------------------------------------------+

36.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
|  cast(date '02/15/1970'-date '02/05/1970' as integer): 10                            
+------------------------------------------------------------------------------+

37.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
|  cast(timestamp '02/01/1997 9:20:30 am'-timestamp '02/01/1997 9:10:20 am' as integer): 610        
+------------------------------------------------------------------------------+

38.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

39.
+----<Result of SELECT Command>--------------<2 of 2>----------------+
| birthdate:     02/05/1970                                                    
+------------------------------------------------------------------------------+
+----<Result of SELECT Command>--------------<1 of 2>----------------+
| birthdate:     02/15/1970                                                    
+------------------------------------------------------------------------------+

40.
+----<Result of SELECT Command>--------------<1 of 1>----------------+
| birthdate:     02/05/1970                                                    
+------------------------------------------------------------------------------+

41.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

42.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

43.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

44.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

45.
+----<Result of SELECT Command>-------------<1 of 2>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+
+----<Result of SELECT Command>-------------<2 of 2>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

46.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                   
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                       
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

47.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

48.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                   
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

49.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Kat Day'                                                     
| birthdate:     04/20/1971                                                    
| checkin_time:  09:10:20 AM 02/01/1997                                        
| checkout_time: 05:20:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

50.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

51.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ray Way'                                                     
| birthdate:     02/15/1970                                                    
| checkin_time:  08:50:10 AM 02/01/1997                                        
| checkout_time: 05:10:00 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

52.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Bob May'                                                     
| birthdate:     02/05/1970                                                    
| checkin_time:  08:20:20 AM 02/01/1997                                        
| checkout_time: 04:50:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

53.
+----<Result of SELECT Command>-------------<1 of 1>---------------+
| date '02/05/1970'-1: 02/04/1970                                              
+------------------------------------------------------------------------------+

54.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| max(birthdate)-1: 05/19/1972                                                 
+------------------------------------------------------------------------------+

55.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| max(birthdate): 05/20/1972                                                   
+------------------------------------------------------------------------------+

56.
+----<Result of SELECT Command>--------------<1 of 1>---------------+
| date '05/20/1972'-date '01/01/1970': 870                                     
+------------------------------------------------------------------------------+

57.
+----<Result of SELECT Command>--------------<1 of 1>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

58.
+----<Result of SELECT Command>--------------<1 of 1>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+

59.
+----<Result of SELECT Command>-------------<1 of 1>----------------+
| name:          'Ann Kay'                                                     
| birthdate:     01/01/1970                                                    
| checkin_time:  08:10:10 AM 02/01/1997                                        
| checkout_time: 04:30:30 PM 02/01/1997                                        
| project_time:  NULL                                                          
+------------------------------------------------------------------------------+



Qing Yan
CS560
Sample Output



