Search Result

Collapse
17 results in 0.0015 seconds.
Keywords
Members
Tags
join
  •  

  • user1980
    started a topic Question about query

    Question about query

    Hi there -

    I have two tables, of which table 1 records who have opened an application and table 2 records their answers.

    table 1:
    Std_id, Name, Status

    table 2:
    Std_id, Q_id, Answers

    where q_id is question id.
    Table 1 has one record for each student who has answered questions/just opened an application and table 2 has multiple rows for each student. The table 2 has answers...
    See more | Go to post

  • NDayave
    started a topic Looking for some help with JOIN logic

    Looking for some help with JOIN logic

    Good Day,

    I have a number of tables that need to be joined to gether and up to now everything has been fine. I now need to exclude old files that are identified by a sequence number; newer records have a higher number.

    The joins currently look like this:

    Code:
    FROM a
    	INNER JOIN b
    		ON(a.resource_id = b.resource_id)
    	INNER JOIN c
    		ON(a.resource_id = c.apar_id)
    	INNER
    ...
    See more | Go to post

  • how do I join two complex Statements with different number of targets

    I am working on a SQL statement the works on relationships mapped amongst software and hardware.

    The result I am looking for from the following statement should look like this: (the example table is in code style for formatting purposes)
    Code:
    -----------------------------------------------
    | App Name | Server | Environment | DR Server |
    -----------------------------------------------
    | App1     | svr1
    ...
    See more | Go to post

  • How to get intersecting results from multiple queries (Joins)?

    Hello.

    I'm programming a website in which we have sport clubs listed in a DB, structure is as follows:

    club (id_club, club_name, club_city)
    court (id_court, court_name, club_id_club (FK), court_type)
    court_has_sport (court_id_court , sport_id_sport)
    sport (id_sport, sport_name)

    So as you can imagine, a court may allow more than one sport to be played in it (for instance, soccer and...
    See more | Go to post

  • AllBeagle
    started a topic What type of join is this?

    What type of join is this?

    Hey all,

    I need to join 2 tables like the following scenario below, can anyone enlighten me as to what type of join this would be (or better yet an example of how the query would be set up)?
    .....

    Example -

    Student Table A has 5 columns (firstname, lastname, gender, section_A_id, section_B_id)

    Student Table B has 2 columns (id, sectionname)

    I want this returned in 1...
    See more | Go to post

  • xMetalDetectorx
    started a topic 3 table query

    3 table query

    Hi Everyone!
    I have three tables which i need to query. Here is their format:

    Team
    TeamID
    TeamName

    CoachTeam
    CoachID
    TeamID

    PlayerTeam
    PlayerID
    TeamID

    I need to get a list of Teams for a Coach, and that list needs to have a column for Number of Players on that team.
    I can get a list of teams of a coach, and i can get the number of players...
    See more | Go to post

  • ShelleyCook
    started a topic Left Outter Join Confusion

    Left Outter Join Confusion

    I have one table with the majority of the information. This table holds the following:
    SalesRep (lookup from another table)
    Invoice Date
    Date Paid
    OE
    Customer
    NetSale
    GP
    Adj GP
    Rate
    Paid Amount
    Paid in full?
    Additional Notes
    Commission Payout Date
    Bonus Amount

    I have a query that calculates the commission by multiplying the rate times...
    See more | Go to post

  • Pat Rowe
    started a topic How to Query Partial Match from Two Tables

    How to Query Partial Match from Two Tables

    Relative Newbie w/ a stumper! Any help is appreciated. Thanks!

    I have two tables that I have imported to access. I'd like to query between these two tables for records that have a shared last name (under a name field) in both tables.

    It's a bit complicated because the name fields in the two tables are formatted differently, and sometimes inconsistently. For example: "ROGER D & BETTY JO COLE" in table...
    See more | Go to post

  • MusoFreak200
    started a topic How do you join rar files?
    in DB2

    How do you join rar files?

    Hey, please forgive me but i couldn't find the right area.

    now what i want to do is find out the manual steps that can be taken to join .rar files and/or their contents.

    just like when you get a files from rapidshare and stuff.

    i have not been able to find any f*ing people who can accually tell me the manual procedure.

    so please don't just say, "extract it." and nothing else....
    See more | Go to post

  • Coldfire
    started a topic Left Join Query Problem

    Left Join Query Problem

    Two tables

    Code:
    customer (id,name) = {
    '1','ABC'; 
    '2','DEF';
    '3','GHI'
    }
    Code:
    images (id,customer_id,subscription_id,imageURL) = {
    '1','1','123','abc123.jpg'; 
    '2','2','456','asdjkl.png'; 
    '3','3','456','asad.gif'; 
    }
    I want to get the customer.name, images.id, and images.imageURL from the two tables. But,

    the subscription_id should be '456'...
    See more | Go to post

  • bscott
    started a topic Query joining two tables with different dates

    Query joining two tables with different dates

    I'm sure there is a simple solution to this, but being fairly new to Access I
    would appreciate some assistance...

    I have a query that joins two tables. One table has call details for each day
    that an agent works. The other table has details for each call that is graded
    for each agent. However, calls can be graded on days that the agent does not
    work. When joining the tables, the query will only display calls...
    See more | Go to post
    Last edited by bscott; May 26 '10, 02:00 PM. Reason: updated sql

  • jeff4567
    started a topic Convert Tuple to String

    Convert Tuple to String

    I've got an issue where i'm trying to change names of a bunch of files in python. I've scoured the necessary directory and added the files to a list, and now im trying to remove the last 9 charecters from the filename and replace them with something new. When I try to take the letters off using fname =fname[-:9] its throwing me an error.

    here's what i've got so far. Thanks for the help.

    Code:
    import os, sys, string
    ...
    See more | Go to post
    Last edited by bvdet; Mar 24 '10, 06:33 PM. Reason: Add code tags

  • Joining to different tables based on a condition

    Hey Troops,

    I'm not sure if this is allowed, but I'm trying to keep my SP generic and reduce duplicate code. Depending on a condition, I need to JOIN to different tables, which slightly changes the result set. So, I would include conditions later to grab the proper fields based on checking the same condition (@TravelType = 'A').

    Here's a sample of what I'm doing, which is currently giving me a syntax error near 'CASE':...
    See more | Go to post

  • Gozil
    started a topic separate user table with user settings?

    separate user table with user settings?

    I'm wondering if its a good idea to separate the user information (name, pass, age ...) and the users settings (notifications, themes ...)?

    I guess the real question is if its bad practice to have a lot of columns in one table or if its actually faster? One obvious reason not to have them in the same table is if you want to have dynamic settings which require one insert for each setting but I'm not gonna do that right now.
    See more | Go to post

  • drahmani
    started a topic Update table with multiple joins

    Update table with multiple joins

    Can anyone tell me how to do this in Oracle?
    This is not the exact query but I wanted to simplify it a little. The problem I see is that the WHERE clause depends on the join which I cannot do in Oracle.
    ------ A
    update table1 t1
    set t1.pdesc=t2.pde sc, t1.pcost=t3.pco st
    from table1 t1 left outer join table2 t2 on t1.name=t2.name
    left outer join table3 t3 on t2.product=t3.p roduct...
    See more | Go to post
Working...