Skip to content

Tag: mysql

Regarding SQL Inner Join [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 2 years ago. Improve this question The question is as follows : My question is regarding SQL code for the following question. F…

SQL Weighted averages of multiple rows –

How would you go about to find the real weighted average of multiple rows: By real weighted, I mean like this calculator: https://www.rapidtables.com/calc/math/weighted-average-calculator.html (and not by multiplying value with weight). The weight for each answer is set in answers and values for each question…

LIKE statement SQL

Dont work brackets in LIKE statement I use MySQL WorkBench, I dont understand why SELECT * from user where name like’B[io]’ dont work. My DataBase: Answer Because MySQL does not support character classes in like expressions. Neither does the SQL standard. Use regular expressions: Incidentally, the…

error on MySQL when i add month to the query [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed last year. Improve this question I have a dataset including a endDate and a startDate: endDate startDate…

Joining three junction tables

my heads hurt from trying to figure this out! I have three tables -Players -Teams -Games Three junction tables with two columns. -player_teams -teams_games -player_games I need to list all Players who …