Respuesta :

  • SELECT QUERY is used for the MySQL database fetching.
  • It chooses is planned to return 1 or more rows from the database tables which meet a given criterion.
  • It could be used for PHP, Ruby, and you can execute them via the command prompt inside the scripting language, and further queries can be defined as follows:

Following are the complete Query to this question:

SELECT  DATEPART(week, created_at) AS Week,  Sum(revenue) AS Revenue  FROM country  WHERE '20180101' <= created_at  AND created_at < '20190101'  GROUP BY DATEPART(week, created_at)  ORDER BY DATEPART(week, created_at);

Learn more:

brainly.com/question/22044117

brainly.com/question/11771506

Otras preguntas