Jump to content

[SOLVED] how to split a value in mysql


kiranoleti

Recommended Posts

Hi all,

 

I am new to mysql I want to split column name in mysql.

 

Eg:

  Db 'date' contain 2008-09-12

i want check condition only with year  2008

 

 

select * from table where date=2008

 

in the above how to split the date

 

Sorry for my poor english plz help me

 

Thanks in advance

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/136660-solved-how-to-split-a-value-in-mysql/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.