Jasper Report has a special variable $X for that:
select * from customer where $X{IN,customer_role,roles}
More Related Contents:
- How to pass parameters to query?
- Receive an unexpected symbol error in my PLSQL query [closed]
- SQL
- SQL Query to concatenate column values from multiple rows in Oracle
- Subquery using Exists 1 or Exists *
- Most efficient T-SQL way to pad a varchar on the left to a certain length?
- SQL – How to store and navigate hierarchies?
- Optimize query with OFFSET on large table
- Conditional Count on a field
- Update records in table from CTE
- single fixed table with multiple columns vs flexible abstract tables
- How to insert multiple records and get the identity value?
- What is the difference between function and procedure in PL/SQL?
- How can a LEFT OUTER JOIN return more records than exist in the left table?
- Count Number of Consecutive Occurrence of values in Table
- How to replace (null) values with 0 output in PIVOT
- Is there a SELECT … INTO OUTFILE equivalent in SQL Server Management Studio?
- When would I use XML instead of SQL? [closed]
- SQL for applying conditions to multiple rows in a join
- PLSQL Insert into with subquery and returning clause
- How to Optimize Queries in a Database – The Basics
- `show create table` equivalent in oracle sql
- Hive – Unpivot functionality in hive
- The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range?
- How to use SQL LIKE condition with multiple values in PostgreSQL?
- How can I solve ORA-00911: invalid character error?
- Try_Convert for SQL Server 2008 R2
- SQL Server variable scope in a stored procedure
- converting int to real in sqlite
- What is difference between foreign key and reference key?