HOW TO FIND display the total number of weeks in the year
of 1998 IN EMP TABLE



HOW TO FIND display the total number of weeks in the year of 1998 IN EMP TABLE..

Answer / Sheeba Tabassum

In MySQL, you can use the following SQL query to find the total number of weeks in a specific year: SELECT WEEKOFYEAR(date_column) AS week FROM EMP WHERE YEAR(date_column) = 1998 GROUP BY week;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

How to use rank function in mysql?

1 Answers  


How to use mysqldump to create a copy of the database?

1 Answers  


What is the limit of mysql database?

1 Answers  


What is row?

1 Answers  


How do I insert an image into mysql workbench?

1 Answers  


What happens when the column is set to AUTO INCREMENT and you reach the maximum value for that table?

2 Answers  


What is meant by sharding?

1 Answers  


Is sqlite faster than mysql?

1 Answers  


How do I start mysql from command line?

1 Answers  


How to shut down the server with 'mysqladmin'?

1 Answers  


How can we find out which auto increment was assigned on Last insert?

1 Answers  


How to find second highest salary from a table?

1 Answers  


Categories