I have a table with two columns item_name, value where item_names looks like "abracadabra_prefix.tag_name". And I need to select rows with tag_names f ...
I have a table with two columns item_name, value where item_names looks like "abracadabra_prefix.tag_name". And I need to select rows with tag_names f ...
I am trying to do a filter similar to below using scala where col1 = 'abc' and col2 not in (0,4) and col3 in (1,2,3,4) I tried writing something lik ...
I have this query @Query("SELECT b from BillInfoDetails b where b.masterAcctCode in :masterAccountList and b.msisdn in :msisdnList") List<BillInfo ...
I have a stored procedure it takes comma separated string as input. Which might be too large some times approximately more than 8 thousand characters ...
I have a situation where in I need to create a dynamic IN clause in the query. Right now the query looks like this: Running this query, I get this ...
I want to use the result of a concatenated string in an IN-Clause. This is my SQL-Query: The part in the IIF functions where the expression return ...
Why this is returning a record in EXASOL DBMS ? Thanks, Rafael. ...
I have the following query: My intention is to get the list of all the NUMids from table2 having an email value equal to xyz@gmail.com and use thos ...
I have the following query My intention is to get the list of all the NUMids from table2 having an email value equal to xyz@gmail.com and use those ...
Based on an advise from another developer here on stackoverflow, I have updated my query as below, but I still need to optimise it further. Can someon ...
I have read through a lot of documentation on how to use EXPLAIN and indexes on sitepoint and mysql documentation website. Even found a few PDFs. But ...
I have a existing big query that has a subquery deep in the trenches that gets an employee based on a ID. now I have a newer requirement to address ...
I'm trying to use the value from a variable being passed through from elsewhere in my where statement but i'm struggling on syntax. I have a field th ...
In T-SQL I have a query like this: I tried the following method. As I have already gotten the value from where clause, I'm just trying to group ...
I have a two tables: Tag and History, where Tag Table stores the information about all the TagName's and History Table stores real-time data received ...
Need suggestion as due to performance improvement i need to convert all loop queries to IN clause. I have following where conditions which may vary ba ...
Can someone help me with this SQL. Output must always join the day_ids as multiple condition. For instance, if we choose day_id IN (0,2,4), it must ...
I am working on ansible playbook to grab SNOW record by using snow_record_find module. The documentation (https://docs.ansible.com/ansible/latest/modu ...
I am new in MySQL, I would like to understand how IN clause works. In MySQL when I try to use in IN clause as such: It works and it returns the re ...
I am looking for similar records in the same table. I tried IN clause (below query) but it is not working as per the expectation. Select * from tblBlo ...