Forum: MySQL Oct 1st, 2008 |
| Replies: 2 Views: 805 desc is a keyword,
so change that name to any like desc1...
and try... |
Forum: MySQL Sep 12th, 2008 |
| Replies: 10 Views: 1,164 hello...have you checked it???
have you got solved your problem...??? |
Forum: MySQL Sep 10th, 2008 |
| Replies: 10 Views: 1,164 i think you have to add one more column like month the you will calculate hours per month by using group by month column... |
Forum: MySQL Sep 10th, 2008 |
| Replies: 10 Views: 1,164 hello see this example will help you:
t1 table having 4 columns like year,month,day,points...
year month day points
2000 01 01 1
2000 01... |
Forum: MySQL Sep 10th, 2008 |
| Replies: 10 Views: 1,164 hello vssp...
there is a function called SUM in mysql to calculate total of any numerical column...and if you want to calculate per month,then use limit by 30 days...or created_date < last day of... |
Forum: MySQL Sep 10th, 2008 |
| Replies: 10 Views: 1,164 can u post your table structure... |
Forum: MySQL Jul 26th, 2008 |
| Replies: 5 Views: 1,288 You can do it with DATEADD, directly in MySql
SELECT DATEADD(...) AS IncrementedDate from ...
DATEADD("2000-12-01",INTERVAL 1 DAY) |
Forum: MySQL Jul 25th, 2008 |
| Replies: 2 Views: 943 you can use joins for this:
"select * from table1 as t1,table2 as t2 where ti.id=t2.id";
this is simple....
Have look on this url follows:
http://www.tizag.com/mysqlTutorial/mysqljoins.php |
Forum: MySQL Jul 23rd, 2008 |
| Replies: 6 Views: 6,124 make this thread as solved... |
Forum: MySQL Jul 22nd, 2008 |
| Replies: 6 Views: 6,124 SELECT * FROM table WHERE date_col<curdate() and date>DATE_ADD(CURDATE(), INTERVAL -1 DAY) |
Forum: MySQL Jul 16th, 2008 |
| Replies: 4 Views: 923 if u got solution,mark this thread as solved.by this others may see solved threads... |
Forum: MySQL Jul 15th, 2008 |
| Replies: 4 Views: 923 May this will help you:
http://us.php.net/mysqli_multi_query |