Oracle is missing from keyword 5

Updated on technology 2024-05-26
16 answers
  1. Anonymous users2024-02-11

    You can query some of the segmented comments in PLSQL to see if the problem is in **ah, and you can't see the problem roughly.

    In addition, your writing is too complicated, can't you use join query and decode:

    select ,decode(nvl(, 0), 0, 'Not turned on', 'Turned on') as status,decode(nvl(, 0), 1, 'Monthly', 'By strip') as ifbag,nvl(, 0) as addfee

    from zdaddtion zd, advanceaddtion aa

    where =

    and = 12

  2. Anonymous users2024-02-10

    select ,case

    when (nvl((select

    from advanceaddtion aawhere =

    and=12),0))=0 then is not on'else

    Turned on'end as status,casewhen (nvl((select advtypefrom advanceaddtion aawhere zdaddtionid =

    and = 12),0)) = 1 then'else

    By strip'end as ifbag,nvl((select feefrom advanceaddtion aawhere zdaddtionid =

    and = 12),0) as addfeefrom zdaddtion zd

    Grammatical errors.

  3. Anonymous users2024-02-09

    This should be no problem.

  4. Anonymous users2024-02-08

    select ,case nvl( ,0)

    when 0 then 'Not turned on'

    else 'Turned on'

    end as status,case nvl( ,0)

    when 1 then 'Monthly'

    else 'By strip'

    end as ifbag,nvl( ,0) as addfee

    from advanceaddtion aa ,zdaddtion zd

    where zdaddtionid= and = 12 helped you sort it out, just see for yourself!

  5. Anonymous users2024-02-07

    select ,case

    when (nvl((select

    from advanceaddtion aawhere =

    and = 12),0)) = 0 then

    Not turned on'else

    Turned on'end as status,case

    when (nvl((select advtypefrom advanceaddtion aawhere zdaddtionid =

    and = 12),0)) = 1 then

    Monthly'else

    By strip'end as ifbag,nvl((select fee

    from advanceaddtion aawhere zdaddtionid =

    and = 12),0) as addfee

    from zdaddtion zd

  6. Anonymous users2024-02-06

    What are you trying to do? Create a new biaoming table with the same structure as biao??

    create table biaoming as select * from biao where 1 = 2;

    That's it.

  7. Anonymous users2024-02-05

    where is the property name behind there? Attribute name 1?

  8. Anonymous users2024-02-04

    In oracle, number(m,n) can be used to achieve double precision, or double can be changed to double precision. Hope it helps.

  9. Anonymous users2024-02-03

    Why not use the number type?

  10. Anonymous users2024-02-02

    Please check the information below.

    1. There is no dept in this table.

    2, dept this table is not deptno field 3, dept table in the deptno field is the primary key 4, reference is written wrong, it should be references

  11. Anonymous users2024-02-01

    If you write it wrong, you want to write it as a sql statement, but you wrote pl sqlselect sal, case when sal <1000

    then 'This is a salary of less than 1000. '

    when sal >=1000 and sal <1500then 'This is a salary between 1000 - 1500. '

    when sal >=1500 and sal <2000then 'That's a salary between 1500-2000. '

    when sal >=2000 and sal <2500then 'That's a salary between 2000 and 2500. '

    when sal >=2500 and sal <3000then 'That's a salary between 2500-3000. '

    when sal >= 3000

    then 'This is a salary greater than or equal to 3000. '

    else error'

    end) as saldesc

    from emp;It should be written like this, remember to add points.

  12. Anonymous users2024-01-31

    I suggest you relearn PL SQL programming, what you wrote doesn't make sense.

  13. Anonymous users2024-01-30

    end if;This place is not additional";"No. If you add it, it means that the SQL statement you wrote is two SQL statements.

  14. Anonymous users2024-01-29

    In MySQL, the system adds a virtual table mechanism that returns only one row by default, while in Oracle the implementation is to make a default display virtual table:

    select

    asidfrom

    dual;

  15. Anonymous users2024-01-28

    There are a lot of commas missing from your SQL statement, take a closer look at the before and after case when.

  16. Anonymous users2024-01-27

    Is it a field or t2 is a table, and there is a case when .end should be followed by a comma.

Related questions
4 answers2024-05-26

Oracle's parser processes the table names in the From clause in right-to-left order, the table written at the end of the From clause (the driving table) will be processed first, and if the FROM clause contains multiple tables, you must select the table with the fewest records as the base table. If you have more than 3 table join queries, you need to select an intersection table as the underlying table, which is the table that is referenced by other tables. >>>More

4 answers2024-05-26

I won't copy it, SEO keywords can start with a simple one, such as: long-tail keywords, words with low index, but to ensure that the words you make are valuable, someone searches for valuable words, otherwise it is a waste of time to do it. Why do you say start with the simple, because simple words are easy to get on the homepage and reduce the cycle. >>>More

4 answers2024-05-26

Keyword optimization tips.

1. Location layout. >>>More

10 answers2024-05-26

Hello, send the SMS "gjz filter keywords" to 10659190 to set the filtered keywords. >>>More

16 answers2024-05-26

Generally, children of this age have some changes or fluctuations in their hearts... Tell people that I'm sometimes naïve. When she is messing with you, you'd better suppress your temperament, like smiling at her suddenly, and saying aggrieved >>>More