Need a query to run in db2

Need a query to run in db2

hi all,

I need a query to run in DB2 for the following:

Table 1- MARKETINGACCOUNTS Fields-ACCOUNTTYPE,Accountnumber; Table 2- ACCOUNTS Fields-LEDGERCODE,ACCOUNTNUMBER,BALANCE

FROM THE ABOVE I NEED A QUERY TO RETRIEVE ONLY THE ACCOUNTYPE=AFFILIATE FOR ACCOUNTNUMBERS FROM TABLE 1 AND IN TABLE 2 LEDGERCODE=EC AND BALANCE>0

Pls help. Thanks

View Answers









Related Tutorials/Questions & Answers:
Need a query to run in db2
Need a query to run in db2  hi all, I need a query to run in DB2...; Table 2- ACCOUNTS Fields-LEDGERCODE,ACCOUNTNUMBER,BALANCE FROM THE ABOVE I NEED A QUERY TO RETRIEVE ONLY THE ACCOUNTYPE=AFFILIATE FOR ACCOUNTNUMBERS FROM TABLE
need query
need query  hi sir , i am beginner to sql.i need a query so that it can be helpful to my project. i have four tables each containing different fruits with different amounts. i need a query in such a way that when i say some
Advertisements
DB2
DB2  Actually i want to store Live Video Streaming(from Camera) in data base(DB2) & also i want to retrieve the stored video from client(Authorized Person). So Please send me the java code for above functions
need search query - WebSevices
need search query  I have a field in database as DOB. But I want to search recrods as per "fromage" to "toage". I dont know how to compare the ages with DOB field and retrieve records. plese help me.  Hi Friend
which query will be run for previous(button) question
which query will be run for previous(button) question   which query will be execute on previous button to view the previous questions . for example :- i m working on online examination software so when i click on the previous
Need query for rollup based on month and category
Need query for rollup based on month and category   Hi, Here is my question.. I have a table as below. trans_date,cateory,amount 1-1-11,1,10 2-1-11,2,20 3-2-11,3,15 23-2-11,4,12 13-5-11,4,19 Need a query to get result like
New to JSP..need help to make & run a JSP program.
New to JSP..need help to make & run a JSP program.  Hi, I have installed Tomcat 5.5 on my system. Plz help me to make a simple JSP program. And also how to run it.ADS_TO_REPLACE_1   Hi Friend, Have you set
Hibernate db2
In this section, you will learn about the db2 configuration in Hibernate
ModuleNotFoundError: No module named 'db2'
ModuleNotFoundError: No module named 'db2'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'db2' How to remove the ModuleNotFoundError: No module named 'db2' error
DB2 - Development process
DB2  Actually I am participating in IBM's greatming challenges competition. I am using IBM's DB2 for database purpose. I don't know how to connect to database(DB2) from jsp application.I am using eclipse as an IDE. I am
Hibernate 5 DB2 Dialect
Hibernate 5 DB2 Dialect  Hi, What is Hibernate 5 DB2 Dialect? How to use Hibernate 5 DB2 Dialect in Hibernate? Thanks   Hi, You should add following into the hibernate application configuration: <property
jsp connection to db2
jsp connection to db2  hello friends i have a project to do in jsp using db2 database can anyone please help me in connecting a jsp page to db2 database?? please frienda help me
Hibernate 5 DB2 Dialect
Hibernate 5 DB2 Dialect  Hi, What is Hibernate 5 DB2 Dialect? How to use Hibernate 5 DB2 Dialect in Hibernate? Thanks   Hi, You should add following into the hibernate application configuration: <property
connecting servlet to db2 - JSP-Servlet
connecting servlet to db2  Hello sir, Iam new to db2.so I would like to know the procedure to connect to db2 from a servlet or jsp.Also Tell me the configuration we need to be done before connecting to the db2(such as what path
urgent need for jsp code with mysql query for uploading and downloading file - JSP-Servlet
urgent need for jsp code with mysql query for uploading and downloading file  can anyone tell me how to upload and download a doc file using jsp with mysql as the back end... and kindly help me to create the table too
need
need  i need a jsp coding based project plz help me
XML to DB2 Comparison using Java xpath
XML to DB2 Comparison using Java xpath  Hi , I am a manual tester...' products . i want to compare these xml values with db2 using Java. I have Good... from xml and save it a file. similar way query details from database and save
Sql Query
Sql Query  Is this query work in Db2 or not ? Select * from FORUM LIMIT 2
Sql Query
Sql Query  Is this query work in Db2 or not ? Select * from FORUM LIMIT 2
JPA Named Query
JPA Named Query       In this section, you will read about the JPA Query, its types and how to use the JPA Named Query in your JPA application. JPA Query is powerful
storing images in directory,saving path in db2
storing images in directory,saving path in db2  i am working in a web... in a folder and its path(relative/absolute) in my DB2 database. and when.... can you help?? i'm using DB2 databse Linux(fedora 13) environment
query optimization
query optimization  hai ! i need a code in java for database query optimization.plz help
query string
query string  Need some examples of query strings.send me as soon as possible. Regards, R.Santhosh
Query
Query  how can i set path and Classpath or Environmental Variable for jsp/servlet program to compile and run
query
or JRE is the run time for executing the Java applications. Read more about JRE... is Platform independent: You can write and compile the Java program and then run
sql query - JDBC
sql query  I need a SQL query to add data into database
query related to jdbc
query related to jdbc  hello, i have done my database connection successfully ie db2 with RAD. but while running my application i am not able to fetch the data so please suggest and help me
Need of ORM
Need of ORM  Why do you need ORM tools like hibernate
need of code
need of code  howto convert greyscale image to binary image in java
What is query optimization?
. But use of the best query is important when performance is considered. So you need to sql query tuning based on the requirement. The query optimizer...What is query optimization?  What is query optimization?   
Simple Java applet that need usernam, password and textfield.
Simple Java applet that need usernam, password and textfield.  Hi. Anyone can help me on this matter: I need to create a small application... a textfield box. Anything that been input to that textbox will be transfer to DB2
Need of JUnit
Need of JUnit  Hi sir, What makes JUnit better than other... simple. It is less complex & takes less time. 3 JUnit tests can be run.... There's no need to manually comb through a report of test results.ADS_TO_REPLACE_2 4
need coding
need coding  sir i need code for simple bank application in jsp please send it   sir i need the coding for simple bank application in jsp.   Please visit the following link: Jsp Bank Application
Need help with nested queries
Need help with nested queries  Hello, Table1 has "id", "votes" columns. Table2 has "id", "Name" column. I need to retrieve Name and its... me with a query? Thanks in advance
Need Suggistion
Need Suggistion  how to call a callable statement in our jSp page using Struts environment
urgent need
urgent need   Input a line. Count the number of words that start with a capital letter
Need Project
Need Project  How to develop School management project by using Struts Framework? Please give me suggestion and sample examples for my project
need to Program
need to Program   Can any one help me on below How to insert more then one records in EXCEL Sheet using JSP
need
need
need project
need project  hi im new on this site so dnt knw actual procedure . but i need a project on banking system in java with sql database. which should... is good plz add it i need project till Saturday i.e 10th march 2012 plzzzz
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality.
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality.  DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do
need answer
need answer  Given a phone number, as a string, generate the lettercombinations that are possible based on the telephone keypad's number/letter relationship (ie, 1 is related to no letters, 2 is related to 'a' 'b' 'c', 3
Need help
Need help  Hello... I need some help I have a method which contains 1 string value and i wnat when this method get called den that string value should b assigned as array name.. for example.. i have a method name() which
Need help
Need help  Hello... I need some help I have a method which contains 1 string value and i wnat when this method get called den that string value should b assigned as array name.. for example.. i have a method name() which
sql query
numbers of sids.i want to delete the sid based on the mid.for that i need sql query plz help to me
sql query
numbers of sids.i want to delete the sid based on the mid.for that i need sql query plz help to me
sql query
numbers of sids.i want to delete the sid based on the mid.for that i need sql query plz help to me
Need help
Need help  Dear sir, I have a problem. How to write JSP coding, if a user select a value from drop down list for example department, the another drop down list should show the list of name in the department that chosen before
Need help with this!
Need help with this!  Can anyone please help me..."); System.out.println("Option 4: Run a report"); System.out.println("Option 5: End... to effectivly end the loop with out the need to break it. for(i=(0); i <

Ads