All Sql related Questions

by sandip | 25/04/23 | 0 Answers | Tags : Sql Views : 229
What is Concatenation Operator in SQL?

Read more

by steave | 25/04/23 | 1 Answers | Tags : Sql Views : 202
what is Structured Query Language? how to use Structured Query Language?

Read more

by steave | 20/04/22 | 1 Answers | Tags : PHP , MySQL , Sql , Security Views : 484
so in above query if some input " ''; truncate table anytable name " as username so if that so it will empty table anytable

Read more

by shyam | 20/04/22 | 1 Answers | Tags : MySQL , Sql Views : 540
how to apply group by multiple columns in a select query? I have table orders where restaurants place orders for recipes, so I want to know the count of orders or specific recipes for each restaurant.

Read more

by dilip | 04/03/22 | 1 Answers | Tags : PHP , Sql , CodeIgniter Views : 1006
I am working on search-related code to find products from the table in the database but I want to print the query to debug it properly. i am trying to print query but not sure getting error .

Read more

by Otis | 28/07/21 | 1 Answers | Tags : PHP , MySQL , Sql , mysql_real_escape_string Views : 441
Is SQL injection possible with mysqli_real_escape_string?

Read more

by Rosemarie | 12/05/21 | 1 Answers | Tags : MySQL , Sql Views : 419
What are the join types in join condition?

Read more

by Everette | 06/07/21 | 0 Answers | Tags : MySQL , Sql Views : 524
I want to calculate time between 2 Dates of a day with multiple rows

Read more

by | 17/07/17 | 1 Answers | Tags : MySQL , Sql , DATE Views : 1185
find record which one day before from now MySQL ?

Read more

by fatso | 10/01/17 | 1 Answers | Tags : Sql , indexing , database-indexing , performance Views : 990
How does database indexing work?

Read more

by jaman | 20/12/16 | 1 Answers | Tags : MySQL , Sql Views : 893
i want to list course name form the table course with student info. student_id is foreign key at course table , id is primary key at student table. i did it with join in "where clause" i got same result for both query. so what is difference between where clause and on clause in SQL join , whats is pros and cons of " where clause" vs "on clause" in SQL join currently dealing with MySQL but SQL , PostgreSQL all have same story i think,

Read more

by jaman | 20/12/16 | 1 Answers | Tags : PHP , MySQL , Sql Views : 1106
i am managing to code a delete query so i can delete some selected entries form table which got from another select query . situation like this i want to delete all the common value contained row for a particular field . so i asked for and i got that i can write it by a query where i can compare same field 's value to same field's other value in same table . query is as below it give me all rows which have same value for users(tablename) 's name (field) now i want to delete it which most recent . want to keep old one . i know i can do it with separate query but i want to do it with single query where delete + above select query is that possible to join delete and other select so that we can use select query 's result to delete row ?

Read more