How many ways we can we find the current date using MySQL?
Answer Posted / lekhrajdeshmukh
By using now() we can also get the current date
for eg:-select * from tbl_student where
date(sub_date)=date(now());
where sub_date is column name.
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What are the objects can be created using CREATE statement?
How many columns can a mysql table have?
How can we encrypt and decrypt a data presented in a table using mysql?
What is back end and front end?
What is the storage engine for mysql?
What is blob and clob?
Write a query to fetch common records between two tables using mysql?
Why are function needed?
What is the use of innodb in mysql?
Can u give the example by taking an unnormalized table and make that 1nf and then 25nf, and then 3 nf?
How to represent ENUMs and SETs internally?
In mysql, what is joins? Explain
What are the advantages/disadvantages of mysql and php?
how to add a new column to an existing table?
Can we create table in stored procedure?