Ask a Question related to MySQL, Design and Development.
-
wesley@ispace.co.za #1
Comparison using mysql
Can i use the "LIKE" operator on a date in mysql?
I want to compare the information by the different months
Thanks Wesley
wesley@ispace.co.za Guest
-
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
When i try to start my mysql server, i get this error ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'... -
comparison between two regexes?
Given two regex patterns R1 and R2, is it possible at all to determine/calculate: - whether R1 is "a subset of" R2, i.e. all strings that match... -
ASP comparison question...
hi guys, I am doing this here: dim i dim j i = 10 j = 10 -
Mac - PC Comparison
How does a Mac G3 333mhz compare to a 800 mhz P3 PC? -
raw vs. ufs comparison
Hi there! someone wrote: It does. When using the raw device, any I/O is done synchronously. When using UFS, only metadata is written... -
strawberry #2
Re: Comparison using mysql
Sure, this query selects all orders placed in the month of April,
regardless of the year...
SELECT date FROM orders WHERE date LIKE '%-04-%';
strawberry Guest
-
-
Paul Lautman #4
Re: Comparison using mysql
strawberry wrote:
You can, but you can also do:> Sure, this query selects all orders placed in the month of April,
> regardless of the year...
>
> SELECT date FROM orders WHERE date LIKE '%-04-%';
SELECT date FROM orders WHERE MONTH(date) = 4;
Paul Lautman Guest
-
wesley@ispace.co.za #5
Re: Comparison using mysql
that works brilliantly, thanks
Wes
wesley@ispace.co.za Guest
-
-
Paul Lautman #7
Re: Comparison using mysql
strawberry wrote:
True, that was why I was careful to say "You can, but you can also..." :->> Yes - but that wasn't the question ;-)
Paul Lautman Guest
-
wesley@ispace.co.za #8
Re: Comparison using mysql
Thanks strawberry and Paul
You guys are both brilliant;)
Wes
wesley@ispace.co.za Guest



Reply With Quote

