I have a DB table with the following structure id | dateCreated | numOfUsers Where a typical row is 1, \'2011-10-13 12:00:00\', 4
I need to concatenate rows with a date and a code into a date range Table with two columns that are a composite primary key (date and a code )
I have a table with 2 columns of integers. The first column represents start index and the second column represents end index.
Not using MSSQL or DB2 or Oracle. No CTE. No OVERLAP predicate. No INTERVAL data type. The situation: on a vehicle to be repaired work can not start until
I have Work and Person tables (these are just examples to understand problem). Structure Work table id INTEGER
I have a database table which holds each user\'s checkins in cities. I need to know how many days a user has been in a city, and then, how many visits a user has made to a city (a visit consists of co
I\'ve been working at this for a while. I was wondering how I could get this table: idopen_dtops_hrs 110/31/20117:00AM - 5:30PM
say in mysql I have a column that\'s id, just int auto increment. Is there any way I can use php to tell me when there is an id that\'s been removed?
I have a positions table in SQL Server 2008R2 (definition below). In the system boxes there are positions.
I need some help with a mysql query. I\'ve got db table that has data from Jan 1, 2011 thru April 30, 2011. There should be a record for each date. I need to find out whether any date is missing from