Skip to content
Advertisement

Tag: sql

PDO changes query

I want to have result of my query as it was before I replaced db connection using PDO. How can I get the query as i t was before I implemented PDO? This is my query: $query = “SELECT `…

Mysql – how to do this sql

I have a “reviews” table with N records with 3 fields. Field ID, field name and score field. What I am trying to do is a query that returns me a grouping by the “score” field but with values ​​…

How to get list of movies based on genre and language

I have stuck to get list of movies based on genre and language. Here’s my database structure: movies table ———————– id | title| ———————- 1 | ABC 2 | PQR 3 | MNC category table ———————– id | catgory | value ———————- 1 | language |Hindi 2 | language |Endilish 3 | genre |Drama 4 | genre |Action 5 |

Advertisement