Skip to content

Tag: mysql

Subquery to check date availability

Could you help me with finding a solution to my query problem? I am stuck with it already for a week so I decided to try to ask for help and learn something. I am using MySQL database. Right now I have a table without the “search feature”. This is the result: I want to show all rooms in the

Combining data mysql query

I have this table: trafico.2019 Where I need to select different kinds of traffic (combinations of variables grouped in the following query) Q1 So I know the records for each kind of traffic combination Now I want to set a threshold: 25% of the average of each type of traffic, which I get to know with the fol…

creating a stored procedure based on view with parameter in MYSQL

Im getting a syntax error 1064 in mysqlworkbench for the stored procedure im trying to create. the stored procedure is based on a view i created. this is my view based on dataset(https://www.kaggle.com/gregorut/videogamesales) : and this is the stored procedure based on View with one parameter: I did the stor…