• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with mysql query

#8
[eluser]megabyte[/eluser]
Thanks waldmeister that should work. I'm sorta just wondering how far mysql can be pushed.

For example, execute a query that produces a table of weeks.

So psuedo code would be:

select current date - interval - 8 week group by week.

then you'd get a result set with 8 rows returned.

something like:

week 8
week 7
week 6
week 5
week 4
week 3
week 2
week 1


Messages In This Thread
help with mysql query - by El Forum - 08-20-2009, 10:24 PM
help with mysql query - by El Forum - 08-21-2009, 02:25 AM
help with mysql query - by El Forum - 08-21-2009, 03:26 AM
help with mysql query - by El Forum - 08-21-2009, 11:49 AM
help with mysql query - by El Forum - 08-21-2009, 12:17 PM
help with mysql query - by El Forum - 08-21-2009, 12:29 PM
help with mysql query - by El Forum - 08-21-2009, 12:34 PM
help with mysql query - by El Forum - 08-21-2009, 12:40 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.