Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3434840
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:44:51+00:00 2026-05-18T07:44:51+00:00

string sql1 = select jname, jcode from heardt,judge,main where heardt.jud1 = judge.jcode and main.fil_no=heardt.fil_no

  • 0
string sql1 = "select  jname, jcode 

from heardt,judge,main 

where heardt.jud1 = judge.jcode and main.fil_no=heardt.fil_no and ..

 main.fil_no= ";

I have a form in which user enters a reg_no on entering reg_no only name and address is displayed, in the same table there is fil_no which i want to be used in my above query to link to another table.

how can i specify it in my above query,in the third AND condition? please guide me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:44:52+00:00Added an answer on May 18, 2026 at 7:44 am

    You are talking about JOINing tables I believe? Joins are very simple and are written as thus :-

    SELECT t1.column1,t1,column2,t2.column1,t2.column2
    FROM table1 t1
    JOIN table2 t2
    ON t1.key1 = t2.key1
    WHERE …..

    You can join as many tables as you require and have multiple JOIN types.
    See more here :-
    http://msdn.microsoft.com/en-us/library/ms191472.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Consider this: //members is a table. String sql=select * from members; Query query =
string str = Select bd_id from [Active]; ds = new DataSet(str); da = new
String query = SELECT * FROM mydatabase.Adminitrators; Statement st = con.createStatement(); ResultSet rs =
String sql = SELECT siteapplications.Application, Count(visits.VisitId) AS CountOfVisitId FROM visits, siteapplications WHERE visits.SiteApplicationId=siteapplications.ApplicationID and
I have following SQL query: $readNews_SQLselect = SELECT ; $readNews_SQLselect .= live, content, user,
String's in C# are immutable and threadsafe. But what when you have a public
I'm trying to retrieve the last updated date from a cube. I have a
Here's what I've got so far- $awards_sql_1 = mysql_query('SELECT * FROM categories WHERE section_id
String object behaves like a Value type when using == and != operators which
I need to pass a string value from Form1 : public void button1_Click(object sender,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.