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 6253751
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T14:03:35+00:00 2026-05-24T14:03:35+00:00

Q: I have a DataTable result from the following query: SELECT UNIQUE a.crsnum_e ,

  • 0

Q:

  • I have a DataTable result from the following query:

SELECT UNIQUE a.crsnum_e ,  a.crsnum_e  || '/ ' || a.crstteng crs_name, b.period , b.crscls , c.crsday , c.from_lect , c.to_lect , c.to_lect - c.from_lect + 1 Subtraction, c.lect_kind 

FROM rg1course a , rg3crsgrp b , ct1table c , ct1tablelect d 

WHERE a.crsnum = b.crsnum 
AND b.crsnum = c.crsnum
AND b.crscls = c.crscls
AND b.batch_no = c.batch_no 
AND c.serial_key = d.serial_key  

AND d.lect_code = ....
AND b.batch_no = ....
  • I have another DataTable:Consists of:(Comes from another database table).

batch_no p.k
crsnum   p.k
lect_code p.k
evaluation

What i would to do is to:

join the two datatables , where i need the evaluation column in the result even if it is = null. I mean i need always to get the first datatable even it it’s not have any instance in the second data table.

How to do this with :

INFORMIX JOIN.

or

LINQ.

The pimary keys(batch_no,crsnum,lect_code).

  • 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-24T14:03:36+00:00Added an answer on May 24, 2026 at 2:03 pm

    In Informix, to specify an outer join you need to do the following:

    FROM table1 t1, OUTER table2 t2
    WHERE t1.batch_no = t2.batch_no and ...
    

    The resulting dataset would be all records from table1 and any records from table2 that match on the WHERE condition (and NULLs where it doesn’t match).

    If you want to do this in LINQ, this article has a good explanation with examples: http://smehrozalam.wordpress.com/2009/06/10/c-left-outer-joins-with-linq/

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

Sidebar

Related Questions

I have the following query SELECT * FROM invoice WHERE invoice_id IN (13, 15,
I have created this query to fetch some result from database. Here is my
I have a result from an SQL query that I would like to sort
I have a DataTable populated with values from a database. I have another datatable
i have an datatable like this. i have got the data from sqlserver and
i have an datatable like this. i am getting this data from an excel
I'm importing data from an Excel sheet on to a DataTable using the following
I have a data table and I want to select all distinct names from
I have an entity with the following named query: @NamedQuery(name = findAllGarbage, query =
I have a DataTable called test_results with the following columns: test_results_id student_id subject score

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.