HELP - Query Join Problem
I am trying to write a query to return data from 4 different tables and it is doubling my summed values. I can get the separate queries to work, but not combined and I need them combined so that I can get a balance due and limit the records to only those that had a total billed (fees) less than $200.
Query #1 Gets the total of the fees due for each appeal type and invoice:
Note: There is always at least one fee attached to an invoice.
SELECT APT.APTY_DESCR "APPEAL TYPE",
INV.INVC_ID_SEQ INVOICE,
SUM( ALL FEE.AMT_DUE) "TOTAL BILLED AMOUNT"
FROM WRD_APPEALS AP,
WRD_INVOICES INV,
WRD_FEES_DUE FEE,
WRD_APPEAL_TYPES APT
WHERE AP.APST_CD = 'PEND'
AND AP.INVC_ID_SEQ = INV.INVC_ID_SEQ
AND AP.INVC_ID_SEQ = FEE.INVC_ID_SEQ
AND AP.APTY_CD = APT.APTY_CD
GROUP BY APT.APTY_DESCR, INV.INVC_ID_SEQ
ORDER BY APT.APTY_DESCR, INV.INVC_ID_SEQ
4 BILLING CATEGORY INCORRECT 4147 1200
5 BILLING CATEGORY INCORRECT 4203 1100
6 BILLING CATEGORY INCORRECT 4216 72600
7 BILLING CATEGORY INCORRECT 4826 1000
8 BILLING CATEGORY INCORRECT 4951 2060
Query #2 Gets the total amount paid for each appeal type and invoice:
Note: An invoice may or may not have a payment, thus the outer join.
SELECT APT.APTY_DESCR "APPEAL TYPE",
INV.INVC_ID_SEQ INVOICE,
SUM(ALL PMT.PAID_AMT) "AMOUNT PAID"
FROM WRD_APPEALS AP,
WRD_INVOICES INV,
WRD_APPEAL_TYPES APT,
WRD_PAYMENTS PMT
WHERE AP.APST_CD = 'PEND'
AND AP.INVC_ID_SEQ = INV.INVC_ID_SEQ
AND AP.APTY_CD = APT.APTY_CD
AND INV.INVC_ID_SEQ = PMT.INVC_ID_SEQ(+)
GROUP BY APT.APTY_DESCR, INV.INVC_ID_SEQ
ORDER BY APT.APTY_DESCR, INV.INVC_ID_SEQ
4 BILLING CATEGORY INCORRECT 4147 200
5 BILLING CATEGORY INCORRECT 4203 0
6 BILLING CATEGORY INCORRECT 4216 72600
7 BILLING CATEGORY INCORRECT 4826
8 BILLING CATEGORY INCORRECT 4951
Combined Query - Gets all of the above as well as the balance due. Note the doubled values for some records.
SELECT APT.APTY_DESCR "APPEAL TYPE",
INV.INVC_ID_SEQ INVOICE,
SUM( ALL FEE.AMT_DUE) "TOTAL BILLED AMOUNT",
SUM(ALL PMT.PAID_AMT) "AMOUNT PAID",
(SUM(ALL FEE.AMT_DUE) -
NVL2(SUM(ALL PMT.PAID_AMT), SUM(ALL PMT.PAID_AMT), 0)) "BALANCE DUE"
FROM WRD_APPEALS AP,
WRD_INVOICES INV,
WRD_FEES_DUE FEE,
WRD_APPEAL_TYPES APT,
WRD_PAYMENTS PMT
WHERE AP.APST_CD = 'PEND'
AND AP.INVC_ID_SEQ = INV.INVC_ID_SEQ
AND INV.INVC_ID_SEQ = PMT.INVC_ID_SEQ(+)
AND INV.INVC_ID_SEQ = FEE.INVC_ID_SEQ
AND AP.APTY_CD = APT.APTY_CD
GROUP BY APT.APTY_DESCR, INV.INVC_ID_SEQ
ORDER BY APT.APTY_DESCR, INV.INVC_ID_SEQ,
4 BILLING CATEGORY INCORRECT 4147 1200 400 800
5 BILLING CATEGORY INCORRECT 4203 2200 0 2200
6 BILLING CATEGORY INCORRECT 4216 72600 435600 -363000
7 BILLING CATEGORY INCORRECT 4826 1000 1000
8 BILLING CATEGORY INCORRECT 4951 2060 2060
HELP PLEASE!
Thank you.
When you have multiple child rows, the parent row gets returned once for each child row found. Therefore, if you have summed the invoice, it gets summed again for each payment. Perhaps this little example will help you understand the problem.
Note that I used a sub query here to obtain the desired results. Analytic functions can do the same I believe, but I am still learning them :-)
D> DROP TABLE DMILL.invoice;
Table dropped.
D>
D> DROP TABLE DMILL.payments;
Table dropped.
D>
D> CREATE TABLE invoice AS
SELECT 1 id, 10 amount FROM DUAL UNION ALL
SELECT 2 id, 10 FROM DUAL UNION ALL
SELECT 2 id, 10 FROM DUAL UNION ALL
SELECT 3 id, 10 FROM DUAL;
Table created.
D>
D> CREATE TABLE payments AS
SELECT 1 inv_id, 5 amount FROM DUAL UNION ALL
SELECT 1 inv_id, 5 amount FROM DUAL UNION ALL
SELECT 2 inv_id, 5 amount FROM DUAL UNION ALL
SELECT 2 inv_id, 5 amount FROM DUAL UNION ALL
SELECT 2 inv_id, 5 amount FROM DUAL;
Table created.
D>
D> select * from invoice;
ID AMOUNT
1 10
2 10
2 10
3 10
D>
D> select * from payments;
INV_ID AMOUNT
1 5
1 5
2 5
2 5
2 5
D>
D> select id
,sum (amount)
from invoice
group by id;
ID SUM(AMOUNT)
1 10
2 20
3 10
D>
D> select inv_id
,sum(amount)
from payments
group by inv_id;
INV_ID SUM(AMOUNT)
1 10
2 15
D>
D> select inv.id
,inv.amount
,pay.amount
from invoice inv
,payments pay
where pay.inv_id = inv.id;
ID AMOUNT AMOUNT
1 10 5
1 10 5
2 10 5
2 10 5
2 10 5
2 10 5
2 10 5
2 10 5
8 rows selected.
D>
D> select inv.id
,sum(inv.amount)
,sum(pay.amount)
from invoice inv
,payments pay
where pay.inv_id = inv.id
group by inv.id;
ID SUM(INV.AMOUNT) SUM(PAY.AMOUNT)
1 20 10
2 60 30
D>
D> select inv.id
,sum(inv.amount)
,(SELECT sum(pay.amount)
FROM payments pay
WHERE pay.inv_id = inv.id)
from invoice inv
group by inv.id;
ID SUM(INV.AMOUNT) (SELECTSUM(PAY.AMOUNT)FROMPAYMENTSPAYWHEREPAY.INV_ID=INV.ID)
1 10 10
2 20 15
3 10Let me know if you need further explanation.
Similar Messages
-
Does anyone see any issues in my query/join?
Select c.case_id, a.business_unit, a.field_name, a.change_date, a.old_value, a.new_value, a.created_by, a.creation_date, c.provider_group_id, c.creation_date, c.closed_dttm
From ps_case c, ps_case_history_audit a
where
a.case_id = c.case_id and
a.field_name = 'case_status' and
a.new_value = 'Open - Dispatch' and
a.created_by like '%tag%' and
c.provider_group_id like '%tag%' and
c.closed_dttm between '03-NOV-2013' and '10-NOV-2013'
SQL Dev: All Rows Fetched: 0 But it should be returning something with the stated parameters.Hi,
I'm willing to share what I know about SQL to help solve this problem. Are you willing to share what you know about the data and the application?
Whenever you have a question, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you expect from that data.
Explain, using specific examples, how you get those results from that data.
Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
See the forum FAQ: https://forums.oracle.com/message/9362002
"0 rows found" is sometimes the correct answer. Why do you think it's not in this case?
If c.closed_dttm is a DATE (or a TIMESTAMP) then you shouldn't be comparing it to strings, as in
c.closed_dttm between '03-NOV-2013' and '10-NOV-2013'
However, that would probably produce too many rows in this case, not too few.
At any rate, compare DATEs to other DATEs, for example
c.closed_dttm between TO_DATE ('03-NOV-2013', 'DD-MON-YYYY') and ...
If this isn't the cause of today's problem today, it will be tomorrow's. -
hey guys,
i've used a select query to get details from KNA1, KNVV, ADRC, KNVP, pa0002. tables by joining. but i'm getting only about 170 records. there are more than 3000 records in the database. for each tables. here is my select query
SELECT KNA1KUNNR KNA1NAME1 KNA1NAME2 ADRCSTR_SUPPL1 ADRCSTR_SUPPL2 ADRCSTR_SUPPL3 ADRCCITY1 KNVVVWERK KNVPPERNR PA0002VORNA PA0002NACHN KNVVVKBUR KNVVKDGRP KNA1STCD1 KNA1~STCEG
INTO CORRESPONDING FIELDS OF TABLE IT_FINAL FROM KNA1
INNER JOIN KNVV ON KNA1KUNNR = KNVVKUNNR
INNER JOIN ADRC ON KNA1ADRNR = ADRCADDRNUMBER
INNER JOIN KNVP ON KNA1KUNNR = KNVPKUNNR
INNER JOIN PA0002 ON KNVPPERNR = PA0002PERNR
WHERE KNA1KUNNR IN S_KUNNR AND KNVVVWERK in P_VWERK AND PA0002PERNR IN S_PERNR AND KNVVVKBUR IN S_VKBUR AND KNVV~KDGRP IN S_KDGRP.
can anyone tell me the problem in the above query.
thanks.Hi
you are using tables KNA1, KNVV, ADRC, KNVP, pa0002.
Create internal table for each table mentioned above with all the primary keys and find the links between them
then select data in one table and select data from another table into your internal table for all the entries exists in firs internal table.
go for below links.
http://www.sapdev.co.uk/abap/commands/select_forallentries.htm
http://wiki.sdn.sap.com/wiki/display/ABAP/FORALLENTRIES-Home+page
http://help.sap.com/abapdocu_70/en/ABENWHERE_LOGEXP_ITAB.htm
Thanks
lalit -
Hi All,
I have created a query on PNP logical database which looks very simple, Lets say it has pernr, first name, last name, and Mailing ZIP on the output. P0006-SUBTY = 'MAIL'
Now, the problem is .... if someone do not have mailing address subtype populated then that pernr's record is not appearing on the output. ZIP should be blank if the Mailing Address subtype is not saved for that pernr.
I am using PNP in my infoset so I think I do not have any control over the joins, PNP should not behave like this I guess, is it normal behavior or it can be fixed? or this is one of the reasons to go for Custom ABAP Reports as it cannot be done in SQ01?
Is the only solution through Adhoc queries to add all these PA tables in Inner Joins instead of using PNP, in SQ02?
Thanks in advance.It is a common behavior of Adhoc query in PNP. You will need to create custom fields and put logic for subtypes. Using joins is not a good solution, for performance issues you cannot join many tables and HR tables have begda and endda in tables which may create problems for proper joins.
-
Hi,
I have two tables in my db, the patient table holds details of patients, the contact table holds details of contacts related to the patient.
patient table
patientid - primary key - int
patient name - varchar
contact table
contactid - primary key - int
patientid - foreign key from patient table - int
incontact - foreign key from paient table to relate contacts - int
My contact table has the following data:
contactid patientid incontact
2 19 21
2 19 22
I can retrieve data for the patients that have been in contact with patientid 19, by using the following join:
SELECT * FROM PATIENT
LEFT JOIN incontact
ON incontact.incontact = patient.patientid
WHERE incontact.patientid = 19
However, can you please tell me how I can get data from the patients table where the incontact is 21?
So I can get contacts from patients and patients from contacts?
ThankyouThanks very much for your replies again.
Basically, I have a table of patients, and I would like to link them to each other, many to many.
I populate the incontact table, which stores the original posted patientID, and the new generated patientID. I populate the DB with the code below.
<cfquery name="update" datasource="staffdirectory">
SET NOCOUNT ON
INSERT INTO patient (title,firstname,surname,gender,DOB,telephone,address1,address2,address3,town,postcode
VALUES ('#title#','#firstname#','#surname#','#gender#',#createodbcdate(createdate(startyear, startmonth, startday))# ,'#telephone#','#address1#','#address2#','#address3#','#town#','#postcode#
SELECT @@Identity AS newid
SET NOCOUNT OFF
</cfquery>
<cfquery name="insert" datasource="staffdirectory">
INSERT INTO incontact (related,incontact)
VALUES (#patientid#,#update.newid#)
</cfquery>
This works fine and I can get all related patients by usingthe following query:
SELECT * FROM patient
LEFT JOIN incontact
ON patient.patientid = incontact.related
WHERE incontact.incontact = #patientid#
MY problem occurs when I want to find related patients from the related column, the reverse relationship. I use this seperate query:
SELECT * FROM patient
LEFT JOIN incontact
ON patient.patientid = incontact.incontact
WHERE incontact.related= #patientid#
Is there a way I can combine both queries, or is there a better way I can achieve the same result?
Many thanks again -
Hello,
I'm in need of query assistance. Per my query below, I am trying to output the name of the manager, # of outlets that he/she manages, total number of direct reports at each location, and total number of rental vehicles.
As you can see between my "current" and "desired" outputs, I'm a little off. Could this be a join issue?
I am using Oacle 11g Express and SQL*Plus.
Thanks for your help!!
QUERY:
SELECT lname || ', ' || fname “OUTLET MANAGER”, COUNT(managerno) Outlets,
COUNT(empno) Employees, COUNT(vehicle.outno) “# OF VEHICLES”
FROM EMPLOYEE
JOIN outlet ON employee.empno = outlet.managerno
LEFT OUTER JOIN vehicle ON vehicle.outno = outlet.outno
WHERE title = 'Manager'
GROUP BY lname || ', ' || fname;
CURRENT OUTPUT:
OUTLET MANAGER OUTLETS EMPLOYEES # OF VEHICLES
Smith, Sandy 1 1 0
Weaver, Brendan 5 5 5
Green, Eric 3 3 0
Hill, Wendy 2 2 0
DESIRED OUTPUT:
OUTLET MANAGER OUTLETS EMPLOYEES # OF VEHICLES
Smith, Sandy 1 3 3
Weaver, Brendan 5 2 5
Green, Eric 3 1 0
Hill, Wendy 1 2 2
SAMPLE DATA:
CREATE TABLE EMPLOYEE
(EmpNo NUMBER(6) PRIMARY KEY,
Title VARCHAR2(30),
Fname VARCHAR2(10) NOT NULL,
Lname VARCHAR2(10) NOT NULL,
OutNo NUMBER(4),
SupervisorNo NUMBER(6));
CREATE TABLE OUTLET
(outNo NUMBER(4) PRIMARY KEY,
ManagerNo NUMBER(6));
CREATE TABLE VEHICLE
(LicenseNo VARCHAR2(7) PRIMARY KEY,
outNo NUMBER(4));
INSERT INTO EMPLOYEE VALUES ('100001','Associate','Jenny','Smith','1001','100007');
INSERT INTO EMPLOYEE VALUES ('100002','Associate','Fred','Frapples','1001','100007');
INSERT INTO EMPLOYEE VALUES ('100003','Regional Manager','TJ','Safranski',NULL,'100004');
INSERT INTO EMPLOYEE VALUES ('100004','CEO','Harry','Miller',NULL,NULL);
INSERT INTO EMPLOYEE VALUES ('100005','Associate','Jolena','Koneski','1002','100009');
INSERT INTO EMPLOYEE VALUES ('100006','Associate','Bruce','Peer','1002','100009');
INSERT INTO EMPLOYEE VALUES ('100007','Manager','Sandy','Smith','1001','100003');
INSERT INTO EMPLOYEE VALUES ('100008','Associate','Julie','Walker','1003','100010');
INSERT INTO EMPLOYEE VALUES ('100009','Manager','Brendan','Weaver','1002','100003');
INSERT INTO EMPLOYEE VALUES ('100010','Manager','Wendy','Hill','1003','100003');
INSERT INTO EMPLOYEE VALUES ('100011','Associate','Jeorge','Peer','1004','100012');
INSERT INTO EMPLOYEE VALUES ('100012','Manager','Eric','Green','1004','100003');
INSERT INTO OUTLET VALUES ('1001','100009');
INSERT INTO OUTLET VALUES ('1002','100008');
INSERT INTO OUTLET VALUES ('1003','100008');
INSERT INTO OUTLET VALUES ('1004','100009');
INSERT INTO OUTLET VALUES ('1005','100010');
INSERT INTO OUTLET VALUES ('1006','100010');
INSERT INTO OUTLET VALUES ('1007','100012');
INSERT INTO OUTLET VALUES ('1008','100012');
INSERT INTO OUTLET VALUES ('1009','100012');
INSERT INTO OUTLET VALUES ('1010','100007');
INSERT INTO VEHICLE VALUES ('BH05J9U','1001');
INSERT INTO VEHICLE VALUES ('H4L0DH8','1001');
INSERT INTO VEHICLE VALUES ('5HDI9TG','1002');
INSERT INTO VEHICLE VALUES ('GI0UJD7','1002');
INSERT INTO VEHICLE VALUES ('GJU4Y7D','1001');
INSERT INTO VEHICLE VALUES ('S5BNP2S','1003');
INSERT INTO VEHICLE VALUES ('XCH4Y23','1002');
INSERT INTO VEHICLE VALUES ('A12F8GH','1003');
INSERT INTO VEHICLE VALUES ('C4YUTSA','1004');
INSERT INTO VEHICLE VALUES ('634HV2E','1004');Actually, the desired output for "Smith, Sandy" is correct:
OUTLET MANAGER OUTLETS EMPLOYEES # OF VEHICLES
Smith, Sandy 1 3 3
Inside the OUTLET table, Sandy's "EmpNo" only appears once (e.g.- 1 outlet). Inside the EMPLOYEE table, both she and two other employees are located at one outlet (OutNo)... so the number of employees equals 3. Inside the VEHICLE table, based off the "OutNo" Sandy manages, a total of three cars are assigned.
Outlet relates to employee because employees are both employed at, and manage, the outlet. Hinging off the "EmpNo" value, we can extrapolate who both works at each outlet and manages said outlet.
Please let me know if I need to do a better job explaining.
Thanks for your help!
Message was edited by: 8bb7968b-e6ae-456c-8459-f418352e9e0a -
Joined problem labels Labels to color everyone in the line archives mp3 and selection in dots as it exists now can be anyone who wants to do what HELPS of how thoroughly enjoyable.
Sp188585 wrote:
Joined problem labels Labels to color everyone in the line archives mp3 and selection in dots as it exists now can be anyone who wants to do what HELPS of how thoroughly enjoyable.
Sorry, you will have to outline your issues more clearly.
Thanks
Pete -
Hi
I have a optimization problem and wondering if you can help me, The problem is I am getting two diffrent costs for two diffrent users, when I login and run as the object owner the cost is normal but when I login and run the query as a diffrent user I have a dramatic increase in the costs.
For example to retrieve the rows from Work_Order_Coding_Tab as the object owner the cost is 1 while logged in as the other user the cost is 26070 :(.
views such as xxx_work_order_coding, active_work_order has got more than 2 million records.
The query is
SELECT a.wo_no "AOnr", a.customer_no "Kundnr", c.name "Kundnamn",
a.contact "Kontakt", a.reference_no "Referens",
a.err_descr "Kort_beskrivning", replace(a.err_descr_lo, chr(13) ||
chr(10), ' ') "Lång_beskrivning", a.mch_code "Objektnr",
b.mch_name "Objektnamn", replace(a.performed_action_lo, chr(13) ||
chr(10), ' ') "Utfört arbete", sum(b.amount) "Kostnad", sum(
b.sales_price_amount) "Kundpris", a.reg_date "Regdatum",
a.real_f_date "Utf_datum", a.work_master_sign "Arbetsbefäl",
a.work_type_id "Arbetstyp", a.state "Status"
FROM objown.active_work_order a, objown.xxx_work_order_coding b,
objown.cust_ord_customer c
WHERE b.work_order_account_type = 'Kostnad'
AND a.wo_no = b.wo_no
AND a.mch_code = b.mch_code
AND a.customer_no = b.customer_no
AND a.customer_no = c.customer_no
AND b.customer_no = c.customer_no
AND a.mch_code = b.mch_code
AND b.order_no IS NULL
AND a.agreement_id IS NULL
AND (a.work_type_id = 'L'
OR a.work_type_id = 'U'
OR a.work_type_id = 'S'
OR a.work_type_id = 'T'
OR a.work_type_id = 'UF')
AND a.customer_no < '5%'
AND a.customer_no LIKE '10027'
AND a.org_code LIKE '510'
AND a.state LIKE 'Av%'
GROUP BY a.wo_no, a.customer_no, c.name, a.contact, a.err_descr,
a.err_descr_lo, a.mch_code, b.mch_name, a.performed_action_lo,
a.work_master_sign, a.work_type_id, a.reference_no, a.state,
a.reg_date, a.real_f_date
When Running as the object owner I get the following costs, is
Step # Description Est. Cost Est. Rows Returned Est. KBytes Returned
1 This plan step retrieves a single ROWID from the B*-tree index CUST_ORD_CUSTOMER_PK. 1 1 0,007
2 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index ACTIVE_WORK_ORDER_IX4. 1 1 --
3 This plan step retrieves rows from table ACTIVE_WORK_ORDER_TAB through ROWID(s) returned by an index. 1 1 0,198
4 This plan step loops through the query's IN list predicate, executing its child step for each value found.
5 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 2 1 0,205
6 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index WORK_ORDER_CODING_PK. 1 1 --
7 This plan step retrieves rows from table WORK_ORDER_CODING_TAB through ROWID(s) returned by an index. 1 1 0,053
8 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 3 1 0,258
9 This plan step retrieves a single ROWID from the B*-tree index ACTIVE_WORK_ORDER_PK. 1 1 --
10 This plan step retrieves rows from table ACTIVE_WORK_ORDER_TAB through ROWID(s) returned by an index. 1 1 0,014
11 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 4 1 0,271
12 This plan step has no supplementary description information.
13 This plan step designates this statement as a SELECT statement. 5 1 0,271
AND Running as end user brings the following costs!
1 This plan step retrieves a single ROWID from the B*-tree index CUST_ORD_CUSTOMER_PK. 1 1 0,007
2 This plan step retrieves one or more ROWIDs in ascending order by scanning the B*-tree index ACTIVE_WORK_ORDER_IX4. 1 360 --
3 This plan step retrieves rows from table ACTIVE_WORK_ORDER_TAB through ROWID(s) returned by an index. 29 10 1,982
4 This plan step loops through the query's IN list predicate, executing its child step for each value found.
5 This plan step represents the execution plan for the subquery defined by the view ACTIVE_WORK_ORDER. 29 1 4,095
6 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 30 1 4,102
7 This plan step retrieves all rows from table WORK_ORDER_CODING_TAB. 26 070 10 0,527
8 This plan step retrieves a single ROWID from the B*-tree index ACTIVE_WORK_ORDER_PK. 1 1 --
9 This plan step retrieves rows from table ACTIVE_WORK_ORDER_TAB through ROWID(s) returned by an index. 1 1 0,014
10 This plan step joins two sets of rows by iterating over the driving, or outer, row set (the first child of the join) and, for each row, carrying out the steps of the inner row set (the second child). Corresponding pairs of rows are tested against the join condition specified in the query's WHERE clause. 26 071 3 0,199
11 This plan step represents the execution plan for the subquery defined by the view XXX_WORK_ORDER_CODING. 26 071 3 17,748
12 This plan step accepts two sets of rows, each from a different table. A hash table is built using the rows returned by the first child. Each row returned by the second child is then used to probe the hash table to find row pairs which satisfy a condition specified in the query's WHERE clause. Note: The Oracle cost-based optimizer will build the hash table using what it thinks is the smaller of the two tables. It uses the statistics to determine which is smaller, so out of date statistics could cause the optimizer to make the wrong choice. 26 102 1 10,018
13 This plan step has no supplementary description information.
14 This plan step designates this statement as a SELECT statement. 26 103 -- --AND a.customer_no < '5%'
AND a.customer_no LIKE '10027'
AND a.org_code LIKE '510'
Does the query bring back the expected results? There appears to be an issue with your customer_no logic. The only customer_no that will meet your criteria is '10027', the < '5%' appears redundant.
with a as (
select '10027' customer_no from dual union all
select '10027x' customer_no from dual)
select *
from a
where a.customer_no < '5%'
and a.customer_no like '10027';Also, your LIKE operators can be rewritten as '=' if you do not use wildcards, ie '%' or '_'.
If the active_work_order table is larger than the others, you may want to use the smallest table when comparing the customer_no column as it may assist in the execution path. -
Dear all,
I'm trying to create a query joining 2 tables: CATSDB and PROJ, because I want to visualize the project and the wbs at the same time according the working time recorded in cat2.
But when I execute the query doesn't appear any values. But if I create a query separately, i.e, table by table, the values appears without problems.
Please anyone can help me???
Thanks,
P.There should be Field/s that link these tables in order for you to create an infoset out of a table join.
e.g. PA0008 and PA0007 both have the field PERNR.
If there is no field common between the two, your query won't be extracting any data as you've experienced.
These two tables don't have any field that is common to both of them. Table join won't be possible. -
Hi I have a query which returns the sum of linetotals from sales orders related to a specific Business Partner and also related to a specific Item Code.
The problem which I'm having is that when I am testing the reports I am finding out that some of the amounts are being multiplied for a number of times.
I think that it is a join problem.
The query is the below:
select distinct
t0.cardcode
, t0.cardname
, sum(t2.linetotal) as 'Total'
, sum(t3.linetotal) as 'GATEWAY - IPLCS'
, sum(t4.linetotal) as 'GATEWAY - IP TERMINATING CHRGS & LINKS'
, sum(t5.linetotal) as 'Dedicated Symmetric International IP Bandwidth'
, sum(t6.linetotal) as 'Dedicated Symmetric International IP Bandwidth Daily'
, sum(t7.linetotal) as 'Shared IP Transit'
, sum(t8.linetotal) as 'Premium IP'
, sum(t9.linetotal) as 'IP Addresses'
, sum(t10.linetotal) as 'DDos Service'
, sum(t11.linetotal) as 'MIX'
, sum(t12.linetotal) as 'PVC'
, sum(t13.linetotal) as 'Short term IP Transit'
, sum(t14.linetotal) as 'Shared Premium IP'
, sum(t15.linetotal) as 'Shared Rack Co-Location - Setup And Installation Charge'
, sum(t16.linetotal) as 'Shared Rack Co-Location'
, sum(t17.linetotal) as 'Remote Hands / Engineering Support'
, sum(t18.linetotal) as 'Rack Co-Location- Setup & Installation Charge'
, sum(t19.linetotal) as 'Rack Co-Location Space'
, sum(t20.linetotal) as 'Power'
, sum(t21.linetotal) as 'Wireless Ip Microwave Link - Single-Homed Setup & Installation Charge'
, sum(t22.linetotal) as 'Wireless Ip Microwave Link - Dual-Homed Setup & Installation Charge'
, sum(t23.linetotal) as 'Wireless Ip Microwave Link - Recurring Charge Including Mca Fees'
, sum(t24.linetotal) as 'Local Connectivity - Vlan'
, sum(t25.linetotal) as 'Local Connectivity - Bandwidth Access Cost (Traffic)'
, sum(t26.linetotal) as 'Local Connectivity - Activation And Installation Charges For Fibre-Based Ethernet Business Plus'
, sum(t27.linetotal) as 'Local Connectivity - Ethernet Over Fibre'
, sum(t28.linetotal) as 'International Private Leased Circuit'
, sum(t29.linetotal) as 'International Private Leased Circuit Setup Fee'
, sum(t30.linetotal) as 'Wireless link operating on the Unlicensed Band - Setup fee'
, sum(t31.linetotal) as 'Wireless link operating on the Unlicensed Band - Recurring Charge'
, sum(t32.linetotal) as 'GIGE LX SFP Module'
, sum(t33.linetotal) as 'PSAX 1000 Fan/Alarm Module'
, sum(t34.linetotal) as '-48 VDC PS PSAX 2300 4500'
, sum(t35.linetotal) as 'Stratum/-48VDC PS PSAX 1000'
, sum(t36.linetotal) as 'Alcatel Equipment TNEs FOR INVOICE POSTING ONLY'
, sum(t37.linetotal) as 'Tower Site Works'
from
ocrd t0 left outer join ordr t1 on t0.cardcode = t1.cardcode
left outer join rdr1 t2 on t2.docentry = t1.docentry
left outer join rdr1 t3 on t3.docentry = t1.docentry and t3.itemcode = 'DSC000001'
left outer join rdr1 t4 on t4.docentry = t1.docentry and t4.itemcode = 'FLC000001'
left outer join rdr1 t5 on t5.docentry = t1.docentry and t5.itemcode = 'RVL000001'
left outer join rdr1 t6 on t6.docentry = t1.docentry and t6.itemcode = 'RVL000002'
left outer join rdr1 t7 on t7.docentry = t1.docentry and t7.itemcode = 'RVL000003'
left outer join rdr1 t8 on t8.docentry = t1.docentry and t8.itemcode = 'RVL000004'
left outer join rdr1 t9 on t9.docentry = t1.docentry and t9.itemcode = 'RVL000005'
left outer join rdr1 t10 on t10.docentry = t1.docentry and t10.itemcode = 'RVL000006'
left outer join rdr1 t11 on t11.docentry = t1.docentry and t11.itemcode = 'RVL000007'
left outer join rdr1 t12 on t12.docentry = t1.docentry and t12.itemcode = 'RVL000008'
left outer join rdr1 t13 on t13.docentry = t1.docentry and t13.itemcode = 'RVL000009'
left outer join rdr1 t14 on t14.docentry = t1.docentry and t14.itemcode = 'RVL0000010'
left outer join rdr1 t15 on t15.docentry = t1.docentry and t15.itemcode = 'RVM000001'
left outer join rdr1 t16 on t16.docentry = t1.docentry and t16.itemcode = 'RVM000002'
left outer join rdr1 t17 on t17.docentry = t1.docentry and t17.itemcode = 'RVM000003'
left outer join rdr1 t18 on t18.docentry = t1.docentry and t18.itemcode = 'RVM000004'
left outer join rdr1 t19 on t19.docentry = t1.docentry and t19.itemcode = 'RVM000005'
left outer join rdr1 t20 on t20.docentry = t1.docentry and t20.itemcode = 'RVM000006'
left outer join rdr1 t21 on t21.docentry = t1.docentry and t21.itemcode = 'RVN000001'
left outer join rdr1 t22 on t22.docentry = t1.docentry and t22.itemcode = 'RVN000002'
left outer join rdr1 t23 on t23.docentry = t1.docentry and t23.itemcode = 'RVN000003'
left outer join rdr1 t24 on t24.docentry = t1.docentry and t24.itemcode = 'RVN000004'
left outer join rdr1 t25 on t25.docentry = t1.docentry and t25.itemcode = 'RVN000005'
left outer join rdr1 t26 on t26.docentry = t1.docentry and t26.itemcode = 'RVN000006'
left outer join rdr1 t27 on t27.docentry = t1.docentry and t27.itemcode = 'RVN000007'
left outer join rdr1 t28 on t28.docentry = t1.docentry and t28.itemcode = 'RVN000008'
left outer join rdr1 t29 on t29.docentry = t1.docentry and t29.itemcode = 'RVN000009'
left outer join rdr1 t30 on t30.docentry = t1.docentry and t30.itemcode = 'RVN0000010'
left outer join rdr1 t31 on t31.docentry = t1.docentry and t31.itemcode = 'RVN0000011'
left outer join rdr1 t32 on t32.docentry = t1.docentry and t32.itemcode = 'TNE000001'
left outer join rdr1 t33 on t33.docentry = t1.docentry and t33.itemcode = 'TNE000002'
left outer join rdr1 t34 on t34.docentry = t1.docentry and t34.itemcode = 'TNE000003'
left outer join rdr1 t35 on t35.docentry = t1.docentry and t35.itemcode = 'TNE000004'
left outer join rdr1 t36 on t36.docentry = t1.docentry and t36.itemcode = 'TNE000005'
left outer join rdr1 t37 on t37.docentry = t1.docentry and t37.itemcode = 'TNE000006'
where
t0.groupcode in (100,114)
group by
t0.cardcode
, t0.cardname
Can you help please?
Thanks,
vankri
Edited by: vankri on Nov 10, 2009 1:02 PMTry something like this with all your required items:
Select t0.cardcode , t0.cardname , sum(t2.linetotal) as 'Total'
,(select sum(r.linetotal) from rdr1 r join ordr o on r.docentry=o.docentry
where o.cardcode=t0.Cardcode and r.ItemCode= u2019DSC000001')
as 'GATEWAY - IPLCS'
,(select sum(r.linetotal) from rdr1 r join ordr o on r.docentry=o.docentry
where o.cardcode=t0.Cardcode and r.ItemCode= u2019FLC000001u2019)
as 'GATEWAY - IP TERMINATING CHRGS & LINKS'
From ocrd t0 left outer join ordr t1 on t0.cardcode = t1.cardcode
left outer join rdr1 t2 on t2.docentry = t1.docentry
group by t0.cardcode ,t0.cardname -
hi ,
we are generate query in 2005b,and procced for execuite query.following problem occure'<b>odbc sql server driver'[sql server] syntax error the converting the nvarchar value' 70302/20307' to column of data type int received alert OAIB</b>
QUERY SHOWN BE AS FOLLOW.
SELECT T5.DocNum as'Po. No. ', T5.DocDate as 'Po Date',T0.CreateDate,T5.NumAtCard as 'Man.PO. No/ Dt.', T0.DocNum as'AP No. ', T0.DocDate as 'AP Date',T0.NumAtCard as 'Vendor Ref. No.', T0.U_vbdt as 'Vendor Ref. Date', T0.CardName as 'Vendor', T1.Dscription as 'Item', T1.Quantity AS 'QTY' , T1.Price as 'Basic Rate', (T1.Price *T1.Quantity) as 'Value',T0.Comments as 'Po No. & Po.Dt.' FROM OPCH T0 INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OCRD T2 ON T0.CardCode = T2.CardCode INNER JOIN OPDN T3 ON T2.CardCode = T3.CardCode INNER JOIN PDN1 T4 ON T3.DocEntry = T4.DocEntry INNER JOIN OPOR T5 ON T2.CardCode = T5.CardCode INNER JOIN POR1 T6 ON T5.DocEntry = T6.DocEntry INNER JOIN OITM T7 ON T1.ItemCode = T7.ItemCode INNER JOIN OITB T8 ON T7.ItmsGrpCod = T8.ItmsGrpCod WHERE ( T1.BaseRef = T3.DocNum ) AND ( T4.BaseRef = T5.DocNum ) AND ( T0.U_vbdt >=[%25]AND T0.U_vbdt <=[%26]) AND ( T4.Dscription =T1.Dscription ) AND ( T4.Dscription = T6.Dscription ) AND (( T1.Dscription=[%0] OR T1.Dscription=[%1] OR T1.Dscription=[%2] OR T1.Dscription=[%3] OR T1.Dscription=[%4] OR T1.Dscription=[%5] OR T1.Dscription=[%6] OR T1.Dscription=[%7] OR T1.Dscription=[%8] ) OR ( T0.CardName=[%10] OR T0.CardName=[%09] OR T0.CardName=[%27] OR T0.CardName=[%28] ) OR (( T8.ItmsGrpNam =[%11] oR T8.ItmsGrpNam =[%12] OR T8.ItmsGrpNam =[%13] OR T8.ItmsGrpNam =[%14] OR T8.ItmsGrpNam =[%15] OR T8.ItmsGrpNam =[%16] OR T8.ItmsGrpNam =[%17] OR T8.ItmsGrpNam =[%18] OR T8.ItmsGrpNam =[%19] ) and ( T7.U_FirmName =[%20] OR T7.U_FirmName =[%21] OR T7.U_FirmName =[%22]
oR T7.U_FirmName =[%23] OR T7.U_FirmName =[%24] )) )Hi Vishal,
the value '70302/20307' is not an whole number so converting it to an int is not possible.
You should check your data for this value an change your query or data.
Regards
Ad -
Query designing problem while applying cell properties
Hello Experts,
I have a problem while designing query. Problem is as follow:
I have a calculated field on key figure column. This key figure calculates variance between 2 columns.
for E.g I have 2 columns Budget and Actual and third column is %Variance which should be
1. ((Actual - Budget)/Budget) *100 or
2. ((Budget -Actual)/Budget)*100, depening on some values on the row i should use any of these 2 formulas but the result should be dispalyed in single column % Variance.
how can i change the formula in key figures depending on these conditions. I can achieve this by applying cells but i dont want to do so as it is very complex way to desing these queries.
also let me know applying cells on query affects its performance or not?
Regards,
NiravHi Nitin,
Your reply may help me.
But my exact requirement is not that. Requirement is as follow:
I have created Char. Structure in row which contains few rows as revenue and few rows as expense.
I created them by creating selections. Now in case of expense the variance should be (Budget-Actual)/Budget *100.
In case of revenue variance should be (Actual-Budget)/Budget *100.
So, here i have to find out revenue & expense char. iresspective of which one is greater.
Regards,
Nirav -
Query/join/where/child parent table
query/join/where/child parent table
hello my query below is not working for my cf application can
you help?
thanks
this is my previous question so i tried to do it my self.
tcase_req.tcase_req_id is added
tcase.case_id=tcase_req.case_id :note that this is not part of the
inner join in the from clause. it does not depend on the rest of
the inner join.
the reaon for this is that i need to get
WHERE tcase_req.case_req_typ_cd = cwc and
tcase_req.case_req_typ_cd = cwnc
here is the original question
Hello ,
I need help again on the inner join/and conditions in the
where clause
I have these 2 tables tcase and tcase_req where there common
field Is the case_id.
tcase is the parent table and the tcase_req is the child
table.
(1)I wanted to add this to the from clause using the inner
join table . what do I do and where do I put it
(2)I then need to put a condition in the where clause to
replace
WHERE TCASE.CASE_NBR Like '%HPOZ%'
AND TCASE.CASE_NBR = 'DIR-2004-4269-HPOZ-CCMP'
by
WHERE TCASE.CASE_NBR Like '%CWC%' or TCASE.CASE _NBR Like
'%CWNC%'
AND TCASE.CASE_NBR = 'DIR-2004-4269-CWC'
Or TCASE.CASE_NBR = 'DIR-2004-4269-CWNC'
is this efficient??
thanks
SELECT TLA_PROP.PIN,
TLA_PROP.ASSR_PRCL_NBR,
TCASE.CASE_NBR,
TLA_PROP.STR_NBR,
TLA_PROP.STR_NBR_RNG_END,
TLA_PROP.STR_FRAC_NBR,
Tref_plan_area.plan_area_desc,
TLA_PROP.STR_FRAC_NBR_RNG_END,
TLA_PROP.STR_DIR_CD,
TLA_PROP.STR_NM,
TLA_PROP.STR_SFX_CD,
TLA_PROP.STR_SFX_DIR_CD,
TLA_PROP.STR_UNIT_TYP_CD,
TLA_PROP.UNIT_NBR,
TLA_PROP.UNIT_NBR_RNG_END,
TLA_PROP.ZIP_CD,
TLA_PROP.ZIP_CD_SFX,
TLA_PROP.CNCL_DIST_NBR,
TLA_PROP.PLAN_AREA_NBR,
TLA_PROP.ZONE_REG_CD,
TAPLC.PROJ_DESC_TXT,
TCASE.CASE_ID,
TCASE.CASE_NBR,
taplc.aplc_id,
tcase_req.case_req_typ_cd
FROM TLA_PROP INNER JOIN tref_plan_area ON
tla_prop.plan_area_nbr = tref_plan_area.plan_area_NBR INNER JOIN
TLOC ON TLA_PROP.PROP_ID = TLOC.LOC_ID INNER JOIN TAPLC ON
TLOC.APLC_ID = TAPLC.APLC_ID INNER JOIN TCASE ON TAPLC.APLC_ID =
TCASE.APLC_ID
WHERE TCASE.CASE_NBR Like '%CWC%'and
tcase.case_id=tcase_req.case_id
(3)To a tcase_req
Suffix_id are equal to = cwc and cwnc ( in the tcase_req
table)(Suffix_id is the field that cintains the suffix cwc and cwnc
for the tcase_req)
also,
this is the original query and it works fine
SELECT TLA_PROP.PIN,
TLA_PROP.ASSR_PRCL_NBR,
TCASE.CASE_NBR,
TLA_PROP.STR_NBR,
TLA_PROP.STR_NBR_RNG_END,
TLA_PROP.STR_FRAC_NBR,
Tref_plan_area.plan_area_desc,
TLA_PROP.STR_FRAC_NBR_RNG_END,
TLA_PROP.STR_DIR_CD,
TLA_PROP.STR_NM,
TLA_PROP.STR_SFX_CD,
TLA_PROP.STR_SFX_DIR_CD,
TLA_PROP.STR_UNIT_TYP_CD,
TLA_PROP.UNIT_NBR,
TLA_PROP.UNIT_NBR_RNG_END,
TLA_PROP.ZIP_CD,
TLA_PROP.ZIP_CD_SFX,
TLA_PROP.CNCL_DIST_NBR,
TLA_PROP.PLAN_AREA_NBR,
TLA_PROP.ZONE_REG_CD,
TAPLC.PROJ_DESC_TXT,
TCASE.CASE_ID,
TCASE.CASE_NBR,
taplc.aplc_id
FROM TLA_PROP INNER JOIN tref_plan_area ON
tla_prop.plan_area_nbr = tref_plan_area.plan_area_NBR INNER JOIN
TLOC ON TLA_PROP.PROP_ID = TLOC.LOC_ID INNER JOIN TAPLC ON
TLOC.APLC_ID = TAPLC.APLC_ID INNER JOIN TCASE ON TAPLC.APLC_ID =
TCASE.APLC_ID
WHERE (TCASE.CASE_NBR Like '%CWC%' or TCASE.CASE_NBR Like
'%CWNC%')query/join/where/child parent table
hello my query below is not working for my cf application can
you help?
thanks
this is my previous question so i tried to do it my self.
tcase_req.tcase_req_id is added
tcase.case_id=tcase_req.case_id :note that this is not part of the
inner join in the from clause. it does not depend on the rest of
the inner join.
the reaon for this is that i need to get
WHERE tcase_req.case_req_typ_cd = cwc and
tcase_req.case_req_typ_cd = cwnc
here is the original question
Hello ,
I need help again on the inner join/and conditions in the
where clause
I have these 2 tables tcase and tcase_req where there common
field Is the case_id.
tcase is the parent table and the tcase_req is the child
table.
(1)I wanted to add this to the from clause using the inner
join table . what do I do and where do I put it
(2)I then need to put a condition in the where clause to
replace
WHERE TCASE.CASE_NBR Like '%HPOZ%'
AND TCASE.CASE_NBR = 'DIR-2004-4269-HPOZ-CCMP'
by
WHERE TCASE.CASE_NBR Like '%CWC%' or TCASE.CASE _NBR Like
'%CWNC%'
AND TCASE.CASE_NBR = 'DIR-2004-4269-CWC'
Or TCASE.CASE_NBR = 'DIR-2004-4269-CWNC'
is this efficient??
thanks
SELECT TLA_PROP.PIN,
TLA_PROP.ASSR_PRCL_NBR,
TCASE.CASE_NBR,
TLA_PROP.STR_NBR,
TLA_PROP.STR_NBR_RNG_END,
TLA_PROP.STR_FRAC_NBR,
Tref_plan_area.plan_area_desc,
TLA_PROP.STR_FRAC_NBR_RNG_END,
TLA_PROP.STR_DIR_CD,
TLA_PROP.STR_NM,
TLA_PROP.STR_SFX_CD,
TLA_PROP.STR_SFX_DIR_CD,
TLA_PROP.STR_UNIT_TYP_CD,
TLA_PROP.UNIT_NBR,
TLA_PROP.UNIT_NBR_RNG_END,
TLA_PROP.ZIP_CD,
TLA_PROP.ZIP_CD_SFX,
TLA_PROP.CNCL_DIST_NBR,
TLA_PROP.PLAN_AREA_NBR,
TLA_PROP.ZONE_REG_CD,
TAPLC.PROJ_DESC_TXT,
TCASE.CASE_ID,
TCASE.CASE_NBR,
taplc.aplc_id,
tcase_req.case_req_typ_cd
FROM TLA_PROP INNER JOIN tref_plan_area ON
tla_prop.plan_area_nbr = tref_plan_area.plan_area_NBR INNER JOIN
TLOC ON TLA_PROP.PROP_ID = TLOC.LOC_ID INNER JOIN TAPLC ON
TLOC.APLC_ID = TAPLC.APLC_ID INNER JOIN TCASE ON TAPLC.APLC_ID =
TCASE.APLC_ID
WHERE TCASE.CASE_NBR Like '%CWC%'and
tcase.case_id=tcase_req.case_id
(3)To a tcase_req
Suffix_id are equal to = cwc and cwnc ( in the tcase_req
table)(Suffix_id is the field that cintains the suffix cwc and cwnc
for the tcase_req)
also,
this is the original query and it works fine
SELECT TLA_PROP.PIN,
TLA_PROP.ASSR_PRCL_NBR,
TCASE.CASE_NBR,
TLA_PROP.STR_NBR,
TLA_PROP.STR_NBR_RNG_END,
TLA_PROP.STR_FRAC_NBR,
Tref_plan_area.plan_area_desc,
TLA_PROP.STR_FRAC_NBR_RNG_END,
TLA_PROP.STR_DIR_CD,
TLA_PROP.STR_NM,
TLA_PROP.STR_SFX_CD,
TLA_PROP.STR_SFX_DIR_CD,
TLA_PROP.STR_UNIT_TYP_CD,
TLA_PROP.UNIT_NBR,
TLA_PROP.UNIT_NBR_RNG_END,
TLA_PROP.ZIP_CD,
TLA_PROP.ZIP_CD_SFX,
TLA_PROP.CNCL_DIST_NBR,
TLA_PROP.PLAN_AREA_NBR,
TLA_PROP.ZONE_REG_CD,
TAPLC.PROJ_DESC_TXT,
TCASE.CASE_ID,
TCASE.CASE_NBR,
taplc.aplc_id
FROM TLA_PROP INNER JOIN tref_plan_area ON
tla_prop.plan_area_nbr = tref_plan_area.plan_area_NBR INNER JOIN
TLOC ON TLA_PROP.PROP_ID = TLOC.LOC_ID INNER JOIN TAPLC ON
TLOC.APLC_ID = TAPLC.APLC_ID INNER JOIN TCASE ON TAPLC.APLC_ID =
TCASE.APLC_ID
WHERE (TCASE.CASE_NBR Like '%CWC%' or TCASE.CASE_NBR Like
'%CWNC%') -
My Itunes is no longer allowing me to manage my music on my phone i can no longer select on my iphone to make playlists and delete music. Please help fix my problem. Iphone4s, 32gigs, IOS 7.1.2
I don't know why it stopped working but it happened a month or two ago but the option on this phone that's usually all the way to the left when you select your device but now its not and I don't know what caused it. ive already tried troubleshooting my problem but have found no help.Hello Salmomma,
Thank you for the details of the issue you are experiencing when trying to connect your iPhone to your Mac. I recommend following the steps in the tutorial below for an issue like this:
iPhone not appearing in iTunes
http://www.apple.com/support/iphone/assistant/itunes/
Additionally, you can delete music directly from the iPhone by swiping the song:
Delete a song from iPhone: In Songs, swipe the song, then tap Delete.
iPhone User Guide
http://manuals.info.apple.com/MANUALS/1000/MA1658/en_US/iphone_ios6_user_guide.p df
Thank you for using Apple Support Communities.
Best,
Sheila M. -
I need advise and help with this problem .
First , I have been with Mac for many years ( 14 to be exact ) I do have some knowledge and understanding of Apple product .
At the present time I'm having lots of problems with the router so I was looking in to some info , and come across one web site regarding : port forwarding , IP addresses .
In my frustration , amongst lots of open web pages tutorials and other useless information , I come across innocent looking link and software to installed called Genieo , which suppose to help with any router .
Software ask for permission to install , and about 30 % in , my instinct was telling me , there is something not right . I stop installation . Delete everything , look for any
trace in Spotlight , Library . Nothing could be find .
Now , every time I open Safari , Firefox or Chrome , it will open in my home page , but when I start looking for something in steed of Google page , there is
''search.genieo.com'' page acting like a Google . I try again to get raid of this but I can not find solution .
With more research , again using genieo.com search eng. there is lots of articles and warnings . From that I learn do not use uninstall software , because doing this will install more things where it come from.
I do have AppleCare support but its to late to phone them , so maybe there some people with knowledge , how to get this of my computer
Any help is welcome , English is my learned language , you may notice this , so I'm not that quick with the respondGenieo definitely doesn't help with your router. It's just adware, and has no benefit to you at all. They scammed you so that they could display their ads on your computer.
To remove it, see:
http://www.thesafemac.com/arg-genieo/
Do not use the Genieo uninstaller!
Maybe you are looking for
-
I seem to have lost the ability to close a window at the top of the screen. I must have changed the tool bar in some way and I have no idea how to change it back. Any guidance?
-
How to restore a rented movie on my Mac? I have rented 2 movies and they disappeared!
how to restore a rented movie on my Mac? I have rented 2 movies and they disappeared!
-
Vertical line appearing on my screen
today I started having a vertical line appear on my screen. It flickered on and off for a while and then came on for good. I can't seem to get this to go away. By doing a simple search I've found that this is a cable defect in the product and that Ap
-
Passing an APEX variable to another web page outside of APEX
I need to pass an item variable from an APEX page to another web site outside of APEX. Does anyone know what syntax I would need to use? It needs to keep the session in tact. Thanks. Kelly
-
Finding Apple Hardware Test or Customer Support Phone Number
I bought a used g5 from eBay and need to get an Apple Hardware Test CD to test out the hardware. (I've been having kernel panics) I have been searching for about 30 min for a way to get the Apple Hardware test CD for the g5 or a customer service phon