I'm creating a really complex dynamic sql, it's got to return one row per user, but now I have to join against a one to many table. I do an outer join to make sure I get at least one row back (and can check for null to see if there's data in that table) but I have to make sure I only get one row back from this outer join part if there's ...
Hi!
I'm trying to make a tool that can measure the quality of a fax file, comparing the received one with the one sent. I tried Phase_Correlation software, in order to see if the images are similar... but it's not enough. My purpose is to evaluate if the fax is legible after the transmission. Any ideas? Is there any way of comparing two...
I have a generic question that I will try to explain using an example.
Say I have a table with the fields: "id", "name", "category", "appearances" and "ratio"
The idea is that I have several items, each related to a single category and "appears" several times. The ratio field should include the percentage of each item's appearances out...
While looking at ways to improve processes for an in-house analytics team, the "Correlation database" approach used by i-lluminate came up.
Documentation and real-world stories on the platform seem to be scarce, and I was just wondering if people out there had any first-hand experience with it?
the following are requirements of partic...
Here is the code to help you understand my question:
create table con ( content_id number);
create table mat ( material_id number, content_id number, resolution number, file_location varchar2(50), file_size number);
create table con_groups (content_group_id number, content_id number);
insert into con values (99);
insert into mat values...
I'm wondering is there is a compiled knowledge base of similar functions or functionalities between several programming languages. The reason I'm asking this question is due to the fact that one is learning a new programming language and has extensive knowledge of another, it's often difficult to know or imagine the correlation of functi...
Edited
Solution using or rather than union !
It seems there is a problem with linq2sql w.r.t selecting a relation post a UNION
msdn's social forums also indicate it as so
Intent
To get WCtegories & WPBands having items ("W") and each item with either a price or an offer specified
Sql just works fine but linq is bugging out with erro...
I have a query that I need to execute that I do not know how to structure.
I have a table called Employees. I have another table called Company. There is a third table called Files. As you can imagine, a Company has Employees, and Employees have Files.
I need to list out all of the Employees in my database. The challenge is, I need to ...
UPDATE: Thanks to Sifu Bill's advice I have amended the SQL query. Now it returns the correct number of distinct assets (five).
Is it possible to rewrite the following correlated subquery as a JOIN?
SELECT TOP 100 PERCENT Asset_ID, work_order_id, status_id,
downtime_hours, date_completed
FROM dbo.mtvw_wo_reason1
WHERE (Asset_ID IN
(SEL...
We have a table that contains website page views, like:
time | page_id
----------|-----------------------------
1256645862| pageA
1256645889| pageB
1256647199| pageA
1256647198| pageA
1256647300| pageB
1257863235| pageA
1257863236| pageC
In our production table, there is currently about 40K rows. We want to generate, for each da...
can we always convert a usual subquery/correlated subquery to join type query?
...