Skip to content

Tag: sql

How to retrieve rows between hours

I want to get all rows from my table, the table have one column with the following date type ’14/07/2017 05:01:35 p.m.’ between specific hours. Like between ’00:01:00 am’ and ’01:00:00 am’. I’m …

How to find expected results from SQL queries

I am currently writing a C++ application to parse and execute SQL statements. I have got so far with it but now I am finding it difficult to continue because I don’t known what should happen in …

Select within the same table

I’m studying SQL statements and i got stucked in this scenario. The problem is to select data that has associantion column with another in the same table, the result that i want is to select ” Name …