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 |
How to use rank function in mysql?
How to use mysqldump to create a copy of the database?
What is the limit of mysql database?
What is row?
How do I insert an image into mysql workbench?
What happens when the column is set to AUTO INCREMENT and you reach the maximum value for that table?
What is meant by sharding?
Is sqlite faster than mysql?
How do I start mysql from command line?
How to shut down the server with 'mysqladmin'?
How can we find out which auto increment was assigned on Last insert?
How to find second highest salary from a table?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)