Skip to content

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 ​​…