Joining two datasets in Crosstabs
Hi....I have a requirement in crosstabs...
I have 3 data sets…. Ds1, ds2, ds3
Month column comes from all the 3 data sets.
I have a Category Column which comes from all three datasets…. (category = Mother board,mouse,key board )
Max sales, Avg sales, Total sales are the columns which comes from ds1, ds2, ds3 respectively..
Is it possible to achieve this following out put by cross tabs?
How to join two/three data sets in crosstabs??
Image below:
http://i51.tinypic.com/2u9k421.jpg
The Lookup expressions are used for this. They all use a similar syntax:
=command(LocalKey, ForeignKey, ForeignValue, "OtherDatasetName")
This is similar to JOINing tables ON LocalKey=ForiegnKey in Transact-SQL. The expression builder tool will give you some limited help with the 3 Lookup expressions . Visakh's link has more extensive help.
The Join expression mentioned by Brad is often used in conjunction with the LookupSet and MultiLookup expressions, which return an array of values (ForeignValue) rather than a single value like Lookup. Join will concatenate the elements of an array into
a string.
"You will find a fortune, though it will not be the one you seek." -
Blind Seer, O Brother Where Art Thou
Please Mark posts as answers or helpful so that others may find the fortune they seek.
Similar Messages
-
Compare two datasets in crosstab by showing percentage of sales
I am wanting to compare two datasets in a crosstab chart.
Basically I have a sales table and a business costs table.
My business costs table fields look like this:
Category
CostDate
CategoryCost
My sales tabel looks like this:
PartNumber
SalesDate
SalesAmount
In my crosstab I want to group my rows by Category and my columns by Month.
So that in my summaries I can show sum of category cost and the percent of sales for that particular month. I can do everything except show percent of sales for that specific month. My sales table has a SalesDate that I will be using to group off of.
Any ideas on how to do this, I am not sure where to even start. I am still new with crystal reports.
my sales data
PartNumber SalesDate SalesAmount
Part1 1/1/2011 $1.00
Part2 1/1/2011 $1.00
Part3 1/1/2011 $1.00
Part4 1/1/2011 $1.00
Part5 1/1/2011 $1.00
Part6 1/1/2011 $1.00
Part7 2/1/2011 $1.00
Part8 2/1/2011 $1.00
Part9 2/1/2011 $1.00
Part10 2/1/2011 $1.00
Part11 2/1/2011 $1.00
Part12 2/1/2011 $1.00
Part13 2/1/2011 $1.00
My business cost data
Category CostDate CategoryCost
Office 1/1/2011 $1.00
Office 2/1/2011 $1.00
Warehouse 1/1/2011 $1.00
Warehouse 1/15/2011 $1.00
Warehouse 2/1/2011 $1.00
Quality 1/1/2011 $1.00
Quality 2/1/2011 $1.00
Quality 2/15/2011 $1.00
What I want my crosstab to look like
Total | 1/2011 | 2/2011
Business cost | % of Sales | Business cost | % of Sales | Business cost | % of Sales
Total | $8.00 | 62% | $4.00 | 67% | $4.00 | 57%
Office | $2.00 | 15% | $1.00 | 17% | $1.00 | 14%
Quality | $3.00 | 23% | $1.00 | 17% | $2.00 | 29%
Warehouse | $3.00 | 23% | $2.00 | 33% | $1.00 | 14%Hi Joshua,
assuming that you have linked your two tables and built a crosstab report:
In the summary data field you summarize 2 fields
1. your SUm of Business Cost
2. your Sum of sales. -> Edit that summary to show % of the Table field you want to summarize and select by column -
Joining two datasets for one report
Hi All,
I have 2 datasets i want to joing together.
The 1st is a mysql query and 2nd is a mssql query, I have set a parameter which is the userid from the mysql query and added this to my mssql query.
If i execute the mssql query and add the parameter my self then the report will run.
I want to be able to set the mssql query to pull the userid from the mysql query and then output the information in another table. Is this possible? or is there another way to do this.
ThanksI want to be able to set the mssql query to pull the userid from the mysql query and then output the information in another table. Is this possible? or is there another way to do this.
Hi Phil1988,
According to your description, there are two data sources in your report, one is mysql database and another one is mssql database, now what you want is that get the userid from mysql database and use this values to filter data on mysql dataset, right?
In this case, what you have done is exactly right. (I have set a parameter which is the userid from the mysql query and added this to my mssql query.) Create a paraemter, get available values and default value from the mysql dataset, and then use
this parameter to filter data on mssql dataset.
Reference.
http://technet.microsoft.com/en-us/library/aa337400(v=sql.105).aspx
http://technet.microsoft.com/en-us/library/dd255287.aspx
If I have anything misunderstand, please point it out.
Regards,
Charlie Liao
TechNet Community Support -
Using geocode in a map based on a view where two datasets are joined
Hi,
I'd like to create a map based on a view in which two datasets are joined, where one of the datasets has a geocode column.
Unfortunately this is not working... It seems that a custom view where two datasets are joined together where one of them has a geocode column makes the geocode column invisible for the map component.
The following cases do work but we like to combine them so that we can combine different datasets in Studio without using the Integrator:
- I can create a custom view in which we join two datasets > the view can be used as a source for different component but not the map component (it seems that the geocode column is not found)
- I can create a custom view with a geocode column in it and that one can be used as a source for a map
What I'd like to show is that it is possbile to have one datasets coming from a source system and that it is easy to combine an additional excel sheet with geo-information and maybe another excel sheet with different measures. This should be possible since you can join different datasets together in a custom view.
Thanks in advance,
RichardOh sorry, we have two base views and one custom view:
base view TRIS_Omzet which gets it data from an OBI server and has data like revenue, customer, time, etc.
base view Endeca_Klanten which gets it data from an excel sheet, this view contains the name of the customer and the geocode of the customer's location
We created one custom view (Omzet_Geo) where the two base queries are joined together using the following query:
DEFINE V1 AS SELECT
"Endeca_Klanten.Klanten" AS Klant,
"Endeca_Klanten.Coordinaten" AS Coordinaten
from Endeca_Klanten;
DEFINE V2 AS SELECT
"TRIS_Omzet.Naam_Consultant" AS Naam_consultant,
"TRIS_Omzet.Jaar" AS Jaar,
"TRIS_Omzet.Jaar_week" AS Jaar_week,
"TRIS_Omzet.Actual" AS Actual,
"TRIS_Omzet.Omzet" AS Omzet,
"TRIS_Omzet.Partij" AS Partij,
"TRIS_Omzet.Uren" AS Uren
FROM TRIS_Omzet
DEFINE Omzet_Geo AS SELECT
V1.Klant AS Klant,
V1.Coordinaten AS Coordinaten,
V2.Naam_consultant AS Naam_consultant,
V2.Jaar AS Jaar,
V2.Jaar_week AS Jaar_week,
sum(V2.Actual) AS Actual,
sum(V2.Omzet) AS Omzet,
V2.Partij AS Partij,
sum(V2.Uren) AS Uren
from V1
right join V2
on (V1.Klant=V2.Partij)
group by Klant, Coordinaten, Naam_consultant,Jaar,Jaar_week,Partij
Our view definition in the GUI looks like the following, as shown in the screenshots the datatype of the coordinated column is a Geo column both in the base view and the custom view. However the view still can't be selected to be used as a source for the map component.
The two base views:
The custom view:
regards,
Richard -
How to join two crosstabs such that they appear as one?
Hi
I tried to join two cross tabs such that they appear to be one. I tried the format the view of the cross tabs by setting the value of top and bottom padding as zero but it is not working. It is taking some default space between the cross tabs.
Is it possible to join the crosstabs?
Thanks
JasleenI set the wrong case .my question has been answered..
Thank you ~
Edited by: Richard 1982 on 2009-12-27 下午9:55 -
How to add two datasets inside a same tablix?
Hi Everyone,
I want to create a report as using project server datas with two datasets in the same tablix.my report has three grouping by Months,Resources, and Resource Role.my dataset has resource name parameter.when i selected a few resource as filter,LookupSet function
gives me an array.But it is taking first value of array for each resource.Actually it must get related value for resource in the array.Hi Visakh,
i tried to merge them at backend.but it gave me the wrong results.because resource has 168 hours capacity at selected date range.
For example:
i selected dates between 01.11.2013 and 30.11.2013.there are 3 project at this date range for this Resource.but it gave me less result for capacity.i think that it is bringing the capacity according to the results in Epm_AssignmentByDay_Userview table matching.but
it must bring the result according to selected date range.
My SP:
USE [ProjectServer_Reporting_Canli]
GO
/****** Object: StoredProcedure [dbo].[CSP_ResourceCapacityControl] Script Date: 01/26/2014 04:31:31 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[CSP_ResourceCapacityControl]
@Resources VARCHAR(4000),
@ResourceRole VARCHAR(4000),
@DateStart DATETIME,
@DateEnd DATETIME,
@Programme VARCHAR(4000)
AS
BEGIN
SELECT
TimeByDay,
ResourceUID,
ResourceName,
Capacity,
ProjectUID,
ProjectName,
[Project Type.Proje Türü],
[Function.Fonksiyon],
[Proje Durum],
ProjectStartDate,
ProjectFinishDate,
[Role.Rol],
[Speciality.Uzmanlık],
Rol_KaynakAnalizi,
[OutSource Company.Dış Kaynak Firma],
[Source.Kaynak],
[programme.program],
SUM(BaselineAssignmentWork) AS BaselineWork,
SUM(AssignmentActualWork) AS ActualWork,
SUM(AssignmentWork) AS AssignmentWork,
SUM(AssignmenRPlanWork) AS AssginmenRPlanWork
FROM
(SELECT
ABD.TimeByDay,
RUV.ResourceName,
PUV.ProjectUID,
PUV.ProjectName,
PUV.[Project Type.Proje Türü],
PUV.[Function.Fonksiyon],
PUV.[Proje Durum],
PUV.ProjectStartDate,
PUV.ProjectFinishDate,
RUV.ResourceUID,
RUV.[Role.Rol],
RUV.[Speciality.Uzmanlık],
RUV.Rol_KaynakAnalizi,
RUV.[OutSource Company.Dış Kaynak Firma],
RUV.[Source.Kaynak],
PUV.[programme.program],
RDB.Capacity,
SUM(ABD.AssignmentBaseline0Work)AS BaselineAssignmentWork,
SUM(ABD.AssignmentWork) AS AssignmentWork,
SUM(ABD.AssignmentActualWork) AS AssignmentActualWork,
SUM(ABD.AssignmentResourcePlanWork) AS AssignmenRPlanWork
FROM
dbo.MSP_EpmAssignmentByDay_UserView AS ABD
INNER JOIN
dbo.MSP_EpmAssignment_UserView AS AUV
ON
ABD.AssignmentUID = AUV.AssignmentUID
INNER JOIN
dbo.MSP_EpmProject_UserView AS PUV
ON
PUV.ProjectUID = AUV.ProjectUID
INNER JOIN
dbo.MSP_EpmResourceByDay_UserView RDB
ON
RDB.ResourceUID=AUV.ResourceUID and RDB.TimeByDay=ABD.TimeByDay
INNER JOIN
dbo.MSP_EpmResource_UserView AS RUV
ON
RUV.ResourceUID = AUV.ResourceUID
INNER JOIN
(SELECT ObjectUID
FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@Resources)) As ParamResourceUIDs
ON
RUV.ResourceUID = ParamResourceUIDs.ObjectUID
INNER JOIN
(SELECT ObjectUID
FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@ResourceRole)) As ParamResourceRoleID
ON
RUV.Rol_KaynakAnalizi = ParamResourceRoleID.ObjectUID
INNER JOIN
(SELECT ObjectUID
FROM dbo.CF_SQLParameterINOperatorInStoreProcedure(@Programme)) As ParamProgramme
ON
PUV.[programme.program]=ParamProgramme.ObjectUID
WHERE
(RDB.TimeByDay BETWEEN (@DateStart) and (@DateEnd))
--AND
--ABD.AssignmentActualWork <> 0
GROUP BY
ABD.TimeByDay,
PUV.ProjectName,
PUV.[Project Type.Proje Türü],
PUV.[Function.Fonksiyon],
PUV.[Proje Durum],
PUV.ProjectStartDate,
PUV.ProjectFinishDate,
RUV.ResourceUID,
PUV.ProjectUID,
RUV.[Role.Rol],
RUV.[Speciality.Uzmanlık],
RUV.Rol_KaynakAnalizi,
RUV.[OutSource Company.Dış Kaynak Firma],
RUV.[Source.Kaynak],
PUV.[programme.program],
RDB.Capacity,
RUV.ResourceName) AS Temp
--INNER JOIN
-- (SELECT ResourceRoleID
-- FROM
-- dbo.CF_SQLParameterINOperatorResourceBolum(@ResourceRole)) As ParamResourceRole
-- ON
-- (RUV.Role_KaynakAnalizi = ParamResourceRole.ResourceRoleID)
GROUP BY
TimeByDay,
ResourceName,
ResourceUID,
ProjectName,
[Project Type.Proje Türü],
[Function.Fonksiyon],
[Proje Durum],
ProjectStartDate,
ProjectFinishDate,
ProjectUID,
[Role.Rol],
[Speciality.Uzmanlık],
Rol_KaynakAnalizi,
[OutSource Company.Dış Kaynak Firma],
[Source.Kaynak],
Capacity,
[programme.program]
END
RETURN 0 -
How to use same group element from two dataset
Hi,
I've two datasets in xml file which has one common field(say colA). I've two subreports in the workbook, first one from dataset_1, second one built from dataset_2.
ColA should be used as a group-by field above the section and split-by-page-break. If I use colA from respective dataset in the subreports, first it will display subreport_1 for each colA value and then starts subreport_2. How can I display 2 subreports for one colA value then pagebreak and in next page 2 subreports for 2nd colA value..so on?
Please suggest.
Regards.Hi Vetsrini,
Thanks very much for your help.
There are 2 distinct M_KOG3_CONC in xml dataset I posted: 000 and 574. The same field is named as M_KOG3_CONC2 in 2nd dataset.
Desired output:
KOG3: 000
<<crosstab Monthly Cost Report >>
<<crosstab Monthly Quantity Mounted Tire>>
<<crosstab Monthly No. of Services>>
KOG3: 574
<<crosstab Monthly Cost Report >>
<<crosstab Monthly Quantity Mounted Tire>>
<<crosstab Monthly No. of Services>>
My problem is to match value of M_KOG3_CONC2 with current value of M_KOG3_CONC inside for-loop of M_KOG3_CONC; ie, when M_KOG3_CONC=000 from 1st dataset, bring those rows from 2nd dataset which has M_KOG3_CONC2=000, when M_KOG3_CONC=xxx, bring rows from 2nd dataset with M_KOG3_CONC2=xxx so on..
I used that if statement only to enforce matching between M_KOG3_CONC and M_KOG3_CONC2.
I ran your template. It is giving too high values for Monthly No. of Services, which is not there in the xml dataset.
Can you please look.
Kind Regards. -
ADDING TOTAL AND SUBTOTAL FROM TWO DATASETS
Hi there!
I working in this report with two dataset, I need to add a subtotal and total, the balance is coming from Dataset2, and I bring this Balance with a Lookup .... everything is working fine, but I can't bring the subtotals
Thank youHi Ysabel1111,
Based on my understanding, you are retrieving data from another dataset with Lookup() function within a tablix. Then you want to perform a subtotal and total, right?
In your scenario, since you are using Lookup() function to retrieve the second dataset’s data, you should embed the Lookup() function within Sum() function to perform subtotal or total. Please refer to our test steps and results:
1. We use Lookup() function to retrieve Balance field from DataSet2.
2. Specify the subtotal and total expression like below, then preview the report.
Besides, you can only create one dataset, then specify the query to join the two tables. So that you can specify data for a tablix without Lookup() function.
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu
Qiuyun Yu
TechNet Community Support -
Problem encountered when join two remote tables in a materialized view
I'm using oracle 9.2.0.6
1> I have two tables:
CREATE TABLE TEST
A VARCHAR2(100 BYTE),
C DATE
CREATE TABLE TEST1
A VARCHAR2(100 BYTE),
B TIMESTAMP
2>. I defined a prebuild table:
CREATE TABLE MV_TEST1
ID1 ROWID,
A VARCHAR2(100 BYTE),
ID2 ROWID,
B TIMESTAMP(6),
C DATE
3> I created mview logs:
CREATE MATERIALIZED VIEW LOG ON PSI_TEST.TEST
WITH ROWID
INCLUDING NEW VALUES;
CREATE MATERIALIZED VIEW LOG ON PSI_TEST.TEST1
WITH ROWID
INCLUDING NEW VALUES;
4> when I create mview:
CREATE MATERIALIZED VIEW PSI_TEST.MV_TEST1
ON PREBUILT TABLE WITH REDUCED PRECISION
REFRESH FAST ON DEMAND
WITH PRIMARY KEY
AS
select
test.rowid id1,
test.a,
test1.rowid id2,
test1.b,
cast(null as date) c
from test , test1
where test.a = test1.a(+);
It is created successfully.
5> problem:
when I use remote tables to do the same thing, say test and test1 are in another instance and are connected by a dbLink, I couldn't create the mview successfully:
CREATE MATERIALIZED VIEW PSI_TEST.MV_TEST1
ON PREBUILT TABLE WITH REDUCED PRECISION
REFRESH FAST ON DEMAND
WITH PRIMARY KEY
AS
select
a.rowid id1,
a.a,
b.rowid id2,
b.b,
cast(null as date) c
from test@dbl a, test1@dbl b
where a.a = b.a(+);
when run above statement, I got:
ORA-12015: cannot create a fast refresh materialized view from a complex query
Any ideas? Or joining two table through a dblink for a mview is not allowed at all?
Thanks in advance.No one has a clue?
Message was edited by:
lzhwxy -
I am trying to develop a query in MS Access 2010 to join two tables using three joins, one of which is a (between) date range. The tables are contained in Access. The reason
the tables are contained in access because they are imported from different ODBC warehouses and the data is formatted for uniformity. I believe this cannot be developed using MS Visual Query Designer. I think writing a query in SQL would be suiting this project.
ABCPART links to XYZPART. ABCSERIAL links to XYZSERIAL. ABCDATE links to (between) XYZDATE1 and ZYZDATE2.
[ABCTABLE]
ABCORDER
ABCPART
ABCSERIAL
ABCDATE
[ZYXTABLE]
XYZORDER
XYZPART
XYZSERIAL
XYZDATE1
XYZDATE2Thank you for the looking at the post. The actual table names are rather ambiguous. I renamed them so it would make more sense. I will explain more and give the actual names. What I do not have is the actual data in the table. That is something I don't have
on this computer. There are no "Null" fields in either of the tables.
This table has many orders (MSORDER) that need to match one order (GLORDER) in GLORDR. This is based on MSPART joined to GLPART, MSSERIAL joined to GLSERIAL, and MSOPNDATE joined if it falls between GLSTARTDATE and GLENDDATE.
[MSORDR]
MSORDER
MSPART
MSSERIAL
MSOPNDATE
11111111
4444444
55555
2/4/2015
22222222
6666666
11111
1/6/2015
33333333
6666666
11111
3/5/2015
This table has one order for every part number and every serial number.
[GLORDR]
GLORDER
GLPART
GLSERIAL
GLSTARTDATE
GLENDDATE
ABC11111
444444
55555
1/2/2015
4/4/2015
ABC22222
666666
11111
1/5/2015
4/10/2015
AAA11111
555555
22222
3/2/2015
4/10/2015
Post Query table
GLORDER
MSORDER
GLSTARTDATE
GLENDDATE
MSOPNDATE
ABC11111
11111111
1/2/2015
4/4/2015
2/4/2015
ABC22222
22222222
1/5/2015
4/10/2015
1/6/2015
ABC22222
33333333
1/5/2015
4/10/2015
3/5/2015
This is the SQL minus the between date join.
SELECT GLORDR.GLORDER, MSORDR.MSORDER, GLORDR.GLSTARTDATE, GLORDR.GLENDDATE, MSORDR.MSOPNDATE
FROM GLORDR INNER JOIN MSORDR ON (GLORDR.GLSERIAL = MSORDR.MSSERIAL) AND (GLORDR.GLPART = MSORDR.MSPART); -
We have tried joining two DSO's and are getting the warning that "more than one datasource has been used in this report". It appears that the DSO driver does not support joins. The report runs but it is VERY slow, the same sort of performance you get when you try to join data from two datasources that are actually different (like two different SQL Server databases or an Oracle table joined to a SQL Server table). It appears that this is not a supported function with the DSO driver. Any thoughts?
Yes, we have created the joins between the two DSOs. We are looking into using the Open SQL driver to go against the base tables to see if that will work. This is how the original ODS driver used to work.
Update: After changing the join type to a left outer join the performance improved signficantly. Although not ideal it looks like it will be fine for our requirements. This particular report will be run monthly and scheduled to run overnight.
Edited by: Mike Garrett on Oct 27, 2009 4:28 PM -
Hi Sir/ Madam,
My name is Rishav and I am facing some problem with my Photoshop CC. Actually I have a question. If you guys could help me out i will be very obliged. The quest in "Can you please help me by saying me how can i join two different picture to make it as one picture.??"Maybe you should post over at
Photoshop for Beginners
or start with the "Get Started" section of the Help:
Photoshop Help | Photoshop Help
And your question
Can you please help me by saying me how can i join two different picture to make it as one picture.??
does not seem particularly specific – do you want to simply combine two images as they are, do you want to clip elements from the one and insert them into the other, …?
Could you post (lores of) the images and explain what you intend to achieve? -
Using a view to join two tables
Thank you in advance for any advice you can lend.
I am using this code in my MySQL db to create a view.
select
job.id as job_id,
umr_cost_calculation.plant_name,
max(umr_cost_calculation.id) as max_id
from
job,
umr_cost_calculation
where
job.id = umr_cost_calculation.job_id
group by job.id , umr_cost_calculation.plant_name
I did this so I can join two tables and pull in the most current cost data for a specific plant. The report will, at times, show the wrong (older) data. I can re-run the report, filter to just the one job and see again the wrong data. When I add the max_id to the report, it display the id and updates the report with the correct data. It appears that the view was stale and by adding the ID to the report this fixed the issue.
1) Is this the best way to make this join? I don't see how Crystal supports a subquery to make a join (this is why I used the view).
2) If I leave the max_id on the report, will this force the view to always update?Try:
Select
D1.EmpLoginID,
Count(D1.ID),
Count(D1.AlarmCode),
D1.EmpName,
D1.EmpAddress,
D2.Db2Count
FROM DB1.Data D1
LEFT JOIN (SELECT
empLoginID, Count(*) as Db2Count
FROM DB2.ALL_Database
WHERE site = 'Atlanta'
GROUP BY empLoginID
) D2
ON D1.EmpLoginID = D2.EmpLoginID
GROUP BY D1.empLoginID, D1.EmpName, D2.EmpAddress, D2.Db2Count
Order BY D1.empLoginID ASC
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
DataType conflict in the R/3 when joining two tables
Hi Experts,
I have created a view with two table in the R/3 side by joining two common fields,but one of the field is getting error with different data type, so could any one suggest me how to resolve this issue without changing type.
Thanks,
VenugopalHi
Actually I have to pull one of the field from one table and place in other table and create a generic data source on it,Can any one suggest me with any solution or exists to solve this issue.
Thanks,
Venugopal -
How do you join two tables from different Oracle schemas using a subquery
I am trying to join two tables from different Oracle schemas using a subquery. I can extract data from each of the tables without a problem. However, when I combine the select statements using a subquery I get the Oracle error *'ORA-00936: missing expression'*. Since each SELECT statement executes on its own without error I don't understand what is missing. The result set I am trying to get is to match up the LINE_ID from PDTABLE_12_1 in schema DD_12809 with the MAT_DESCRIPTION from table PDTABLE_201 in schema RA_12809.
The query is as follows:
sql = "SELECT [DD_12809].[PDTABLE_12_1].LINE_ID FROM [DD_12809].[PDTABLE_12_1] JOIN " _
+ "(SELECT [RA_12809].[PDTABLE_201].MAT_DESCRIPTION " _
+ "FROM [RA_12809].[PDTABLE_201]) AS FAB " _
+ "ON [DD_12809].[PDTABLE_12_1].PIPING_MATER_CLASS = FAB.PIPING_MATER_CLASS"
The format of the query is copied from a SQL programming manual.
I also tried executing the query using a straight JOIN on the two tables but got the same results. Any insight would be helpful. Thanks!
Edited by: user11338343 on Oct 19, 2009 6:55 AMI believe you are receiving the error because you are trying to JOIN on a column that doesn't exist. For example you are trying to join on FAB.PIPING_MATER_CLASS but that column does not exist in the subquery.
If you want to do a straight join without a subquery you could do the following
SELECT DD_12809.PDTABLE_12_1.LINE_ID
, FAB.MAT_DESCRIPTION
FROM DD_12809.PDTABLE_12_1
JOIN RA_12809.PDTABLE_201 AS FAB ON DD_12809.PDTABLE_12_1.PIPING_MATER_CLASS = FAB.PIPING_MATER_CLASS HTH!
Maybe you are looking for
-
Importing xbox 360 video clips into imovie 6.0.3sk
Hi, I have an xbox 360 that I would like to import some video clips off of onto my computer using imovie. I have a Powermac G4 with a dual 1.4 ghz cpu, 2 GB of RAM, and lots of HD disk space. I am using an ADS Pyro A/V link for capturing video. I hav
-
Active Layer Name as Text Variable/Live Caption?
Hi all, I work for a company that uses heavily layered InDesign files to create variable brochures, with the appropriate layers activating for output as pdfs based on user information. Our clients often have difficulty discerning what layer they're l
-
Frozen Apple logo and Clicking noise
I reset the Ipod (I believe 5 generation) to factory settings, It now wont show up In I tunes or on my computer for that matter, and Just shows the applue logo and makes a clicking noise.
-
Hi, I am spanish student who have downloaded oracle database from otn.oracle.com. I have buy a student license for RedHat Advanced Server 3.0. I follow the instructions from: http://www.puschitz.com/InstallingOracle9i.html These tell me if there is a
-
Hi all, Parse the format "Jul 1, 2t00u3" gives no exception. Normally if a year is not a digit then an exception will be generated, which is not the case in the following example. input: date format with year "2t00u3" DateFormat df = DateFormat.getDa