Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
bhagyarekha
Creator II
Creator II

how to execute year(date)mysql query in tmysqlinput component

HI All

Am trying to execute 

SELECT * FROM a where year(timestamp_column)='2017';

in tmysqlinputcomponent .but am unable to get the result.can any one tell me the solution

 

"SELECT
`products_urls`.`id`,
`products_urls`.`modified`
FROM `products_urls` where YEAR( modified)='2017'"

 

this is my query in tmysqlinputcomponent

 

Thanks

Rekha

 

Labels (2)
1 Solution

Accepted Solutions
bhagyarekha
Creator II
Creator II
Author

ya thank you i got solution i missed `modified` for modified .

now it is working fine

View solution in original post

3 Replies
Anonymous
Not applicable

You mean you get no rows from the input component? 

A screenshot would be very helpful.

 

bhagyarekha
Creator II
Creator II
Author

ya thank you i got solution i missed `modified` for modified .

now it is working fine

Anonymous
Not applicable

oh alright cool.