at first i'm using datediff('d', a.due_date, current_date); but it takes too long to get the result but how can i subtract the current_date - a.due_date and still get the same result like when i use datediff? thank you1 1757
how to take mysql database structure backup6 6015
What is the main different between Null and NOT Null. Difference between Primary and Unique Key. How to Check the database from which application is it possibe.6 4435
What is Foreign Key? What is the main difference between primary key and Foreign Key ? How Foreign Key can be defined? Is Foreign key is used to join two or more table?4 4477
What is Inner Joints and Outer Joints ? What is right outer joints,left outer joints,right inner joints , left inner joints ,
What is the difference Delete and Drop ?6 4728
how we connect the data base in any programme2 2126
What is check constraint?3 3390
what do you mean by longblob Data type in MySql?3 8993
What is difference b/w composit key n primary key and forigion key?4 4470
Print 3 highest salary9 6768
what programming language which is used for testing and developement in sql?3 2336
what is the advantage of left outer join?2 10311
What is the difference between a Table and a View?3 3899
I want to insert userid of a customer,order time,etc in a table called ordermaster with orderid as primary key.Same time the product codes and required quantities (a1,2 and a2 4 and so on)inserted in another table orderdetails with same orderid reference.How the code will be in JSP using MySQL?
using primary can we relate two table, with out foreign key?
how to get only updated, deleted , inserted records after certain interval time in mysql with out using triggers...
all the queries used in sql
In a property booking section want a query to check that property is booked from StartDate to EndDate.Booking Table field are given id proerty_id start_date checkout_date no_of_visitor booking date status Waiting yours answer.. Thanks In Advance...
What is difference between Sql server and MySql database? It may be silly question but i really dont know.
1)for snapshot replication which agents used? 2)for Transcation replication which agents used? 3)for merge replciation which agents used?
How can you move the master database
what is mysql optimization in brief?
How can you plan the logshipping before processing?
i made a table whih contain a column "Photo" with image data type and i want to insert the byte of a picture present in my hardisk using insert statement in that colum... so what will be my insert statement?
why not null is not allowed at table level
1.how to fetch a value and Execute store procudure in mysql(INNODB) using phpMyAdmin? 2.can i wright a package in mysql database(INNODB)?
suppose data is copie to oracle to sql by using DTS. Actully it taken 2 hours. suppose some day distribute the server in the middle of 2 hours. after how can i get the data ?
How to set the time zone for MySQL to particular country time?