for the relationship between the total points for the individual subject

Hi, I have the STUDENT_MARKS table with the following fields

name varchar2 (20), varchar2 (10) standard, topic varchar2 (20), marksnumber (3), number of ratio (5.2).

The following values are entered in the table

Name Standard Topic brands of ratio
A1firstS130
A1firstS220
A1firstS310
B1secondS120
B1secondS220
C1thirdS110

Now I need a report of field is filled with the sum of all marjks of the given topic studednt according to standard divided by individual notes:

For A1 and the topic should be value s1 (30 + 20 + 10) / 30

A1 of the enemy and subject s2, it should be (30 + 20 + 10) / 20

.....

For B1 and subject S1, it should be (20 + 20) / 20

can someone please help me with the query for the same number of subjects are subject to change in the future for the student of gicven with the standard.

Not code anything hard, just use my only query with your table... my with clause is just for the representation of the data.

You can directly use the query on your table:

SELECT a.*, SUM (brands) (PARTITION BY NAME, STANDARD) / ratio of brands

From your_table;   -Replace to appropriate table your_table

See you soon,.

Manik

Tags: Database

Similar Questions

  • Relationship between Pixels and Points in blackberry

    I need to know the relationship between points, pixels, and how it affects different BB below 7.0 and version devices.

    I have a project that analyzes the values of width and height of the items to display in the points and I converted to pixels and shown on different devices using the following formula.

    fldwidth  = fldwidth*Display.getWidth()/100
    fldheight = fldheight*Display.getHeight()/100
    

    where initially the values of fldwidth and fldheight has pt in decimal values.

    I'm wrong

    Suppose you want a size of 57 points. The calculation is:

    int pixelSizeReqd = 57 * Display.getHorizontalResolution() / pointsInOneMetre;
    
    

    You should not replace the Display.getHorizontalResolution () by a character - it will be different on different devices and there is no need for you to try to set this value for yourself.

    How many points is there in 1 meter? You can do the math, convert a 1/72nd of an inch in meters and then divide by 1 meter. Or you can type in Google "how many points in a counter" and get the answer 2,834.64567. We don't need precision, so we simply use arithmetic on integers to give us this:

    int pixelSizeReqd = 57 * Display.getHorizontalResolution() / 2834;
    
    
  • How to fill out (display) values for several blocks in which there is no relationship between the blocks (tables).

    Hello.

    Is it possible to fill in the values (execute_query) several blocks where there is absolutely no relationship between the tables in the same form?

    There is no relationship between the tables. All are separate tables with different columns. None of the names of columns match

    & also the values of the columns do not match. I created blocks for all tables. When I click on run, only the first block of values (first picture) is filled.

    other values of block did not get filled. Is it possible to fill in the values for all of the blocks where there is not relationship, or when there is no master block?

    Is there something I can do for this? It is mandatory for me to put all the blocks in a single form.

    Help me, please. Please do not respond.

    Thank you.

    Create a key-EXEQRY-trigger on the block where 'throw you' the quers. In it, put something like

    GO_BLOCK ('BLOCK1');

    EXECUTE_QUERY;

    GO_BLOCK ('BLOCK2');

    EXECUTE_QUERY;

    ...

  • I'm looking for the relationship between the unit ORGANIZATION and self-service workflow?

    Hi all:
    I have 3 UO and 3 files of wft different workflow self-service in the my HR system. How can I know the relationship between the unit ORGANIZATION and self-service workflow? I mean what wft file corresponds to an ORGANIZATIONAL unit?

    my environment is oracle 11.5.9. self-service 4.1 | workflow Builder 2.6

    for example:
    OR 1 = > HRSSA1.wft

    OR 2 = > HRSSA3.wft

    OR 3 = > HRSSA2.wft

    I'm looking for this relationship?


    Concerning
    Terry

    Terry,

    I mean what wft file corresponds to an ORGANIZATIONAL unit?

    Open the workflow designer using wft files and see if you can find any reference to these OUs.

    Thank you
    Hussein

  • The scale and the relationship between the problem of points

    I had a few problems with setting the scale of the objects and their appearance before and after the scaling.

    The relationship between the points change when I change things, and it's a little embarrassing.

    Before that I put across that circle with an arrow, it looked like this:

    before.jpg

    Then after that I put across it, the lines on the arrow were not in place:

    after.jpg

    It happens very often when I am scaling of paths in illustrator. Is there something I can do to prevent it? Often I make things evolve upwards or downwards and it is a little painful when I know I'm going to screw up the path.

    before-2.jpg

    after-2.jpg

    Go to the drop down at the top right of the Panel processing and disable "Align new objects to the pixel grid."

    Edit: If you select 'Web' in the new Document dialog box, "Align new objects of pixel grid" is enabled by default, at the bottom of the box. You can choose to disable it there before OK-ing the creation of the document.

  • What is the relationship between the library of Photos and the iPhoto library?

    I'm asking this question here because I can't find all the relevant information online.

    I was dealing with imac a client recently who had a full boot drive. I noticed that his old iPhoto library used 126GB while she had already made the transition to the Photos. His photo library said that he was using a lot more (200 + if I remember correctly). I copied the iPhoto on an external drive library and deleted. Then, I opened the contents of the package and imported pictures remains in program pictures to make sure that I wasn't actually remove all of his memories. Once the work is finished, I was surprised to see that there are more than 6 GB of free space on his computer. What gives? Is there a relationship between the old iPhoto library and new photo library? If so, what is it? Is what I did without danger? I understand at the time that she will not be able to return to iPhoto. But what I'm missing?

    Thanks in advance for your comments.

    No - they are totally separate - connection or relationship of any kind is not

    or the other can be deleted without any effect on the other - but it won't save much space at all and is not recommended - which is exactly what you have seen- Photos saves disk space to share images with your iPhoto or Aperture - Apple Support libraries

    LN

  • Relationship between the samples through the second rate and sampling

    I was wondering if someone could clarify the relationship between the samples through second rate and sampling.

    I have USB6008 and USB6363 of the tips that I work with in Measurement Studio.

    For the nec USB6008 entry differential (up to four channels of HAVE), if I put a sampling frequency to 8192 samples per second, and I updated 2048 samples per channel with:

    Task.Timing.ConfigureSampleClock ("", 8192, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples, 2048)

    Am I right in assuming that:

    • through the 4 analog inputs 8192 samples will be collected every second
    • 2048 samples will be taken by way of analog input for each scan
    • The time between two successive data points is 1/2048 seconds (about 0.5 ms)

    Hi DKIMZEY,

    The help page for the "Timing.ConfigureSampleClock method" should have a hypertext link to the page "Sample clock" in NOR-DAQmx help, that contains this text: "this sample clock sets the interval of time between samples. Each tick of the clock starts the acquisition or the generation of one sample per channel. "When the sample clock frequency is 8192, then the time between two successive data for a single channel is 1/8192 seconds. The time between the data points on two adjacent channels is controlled by the clock to convert, which can be controlled independently on most devices (up to a point).

    Brad

  • What are the relationships between the logging and IKM?

    What is the best method to use in the following scenario:
    I have about 20 tables with the large amount of data sources.
    I need to create interfaces that join the source tables in target tables.
    The tables are inserted every few seconds with about hundreds of thousands lines.
    There may be a gap of a few seconds between the insertion of different tables that could be attached.
    The source and target tables are on the same Oracle instance and schema.
    I want to understand the role of: 'Logging CDC' and "IKM - incremental" and
    How can I use it in my script?
    In general, what are the relationships between "Logging" and 'IKM '?
    Use both? Or maybe it's better deelte and insert the target tables?

    I want to understand what is the role of "Logging CDC"?
    Can 'IKM - incremental' work without "logging"?
    Must 'Logging' have PK on the tables?
    What should I do if I can't say PK (there may be several identical lines)?

    Yael thanks in advance

    user604062 wrote:
    Hello
    Thanks for your quick response!

    No probs - its still fresh in memory I did a major project on this topic last year (400 tables, millions of lines per day (inserts, updates, deletes), sup-5 minute latency). The problem is it isn't that well written on the web, that you have read the blog of the example I linked to in my first answer? See also here: http://odiexperts.com/changed-data-capture-cdc/

    Always on logging:
    My source table is inserted all the time.
    The interface to join the source table in the target table.

    In ODI, the correct term would be your source table "fits" in the table target, unless you mean literally that want to join the the source with the taget table table? My question if you want to do with the result of the join?

    What exactly the "journaling" CDC updates?
    It updates the model of ODI? interfaces? The source of data in the model of ODI? The target table?

    Logging CDC configures and deploys the data capture mechanism (Triggers or log based capture, IE Logminer/streams/Goldengate) - it is not updated the model as such, she pointed out the metadata of the model of ODI repositoty as a CDC data store, allowing you, the developer say ODI to use log data if you wish (reported in the interface) There is no change in the target table, you get an indicator of metadata (IND_UPD) against a line during the integration (in C$ and I have tables$) that tells you if its insertion (I) and update (U) or deletion (D). It had ' lines allow you to synchronize the deletions, but yoy say its inserts only then you probably used use this option. "
    So the only changes are the source table to your interface, another diary data (if you use logging) or the table of the actual source (if not using the logging).

    This is the main thing that I don't understand!

    I hope I made a little clearer.

    Try the following as a quick test:

    Reverse a source table an engineer and the target (at least) table.
    Import the update incremental LKM and IKM.
    Import of the JKM you want to use.

    Create an interface between the source and the target without any deployed JKM.
    Configure the options of JKM on the model, the "Start log" to start the process of capture - this is quite a complex stage and a lot of things to understand what is happening in the source database, better to check code ODI sends to the database and to review the documentation of Oracle database for a description of what his weight (instantiate Tables (, sets of creating change, creation of subscribers etc. establishment of newspaper groups, creating views Journalising etc.) -you will need to consult your Source DBA database initially as ODI wants to make many changes to the source DB (in mode Archivelog process max, parallelism, size, Java etc.)

    Now, edit your interface and mark the table source for use "Journalized data bank.
    Restart your interface
    Compare the difference in the generated code in the journal of the operator, see the differences of the operator.

    >

    Thank you, Yael

  • What is the difference/relationship between a subject and a page?

    Hi all

    I'm not sure of the relationship between a topic and a new page: it seems that a subject can be made up of pages, but when I look at the HTML of the subject, there is no new section (DIV) for the addition of the page.

    Also, not sure about the relationship between the book and the pages/topics.

    You would be grateful if someone could either point of reference material or provide a few clarifying words on that.

    Thank you, Donna

    In regards to the benefits of the pages pointing to topics:

    Placeholders (table of contents Pages) allow a single topic to appear in several places in the table of contents. If the table of contents used directly the subject, each topic could appear only in one place. For example, maybe help is divided into sections, user and administrator, and administrators and regular users can add coordinates to a person in the application. Using a placeholder allows a single procedure to be created (as the task is the same for both users) and then referenced in the two sections of the table of contents.  If the subjects were used directly, two different subjects will have to be created. You can also organize your subjects in a folder structure that suits you and use a different structure in the table of contents.

    The placeholder allows also a display name different be used, for example, if you have a long topic name but want a shorter name to appear in the table of contents, or if the topic appears in several places in your table of contents and you want to focus slightly different in each place, say for different groups of users.

  • Explain the relationship between libraries, albums and photos in pictures.  Where are the images stored?

    Looking for info on the relationship between libraries, albums and photos in the Photos app.  I can create several libraries containing photos and unique albums.  Can I put the same photo in libraries and the different albums?  By making a copy it creates a link to the original or a new photo?  Where are located the photo files?  When scanning photo to my Mac Pro files are placed in a folder structure, copy these photos in an album Photos using the original file or he places a copy in a database?

    Bottomline, I'm frustrated by the method of collection, the albums, the place and date.  I want store related photos in a separate album.   Example: A library for a family, containing albums of members of their family. Maybe the photos have duplicate in different albums.

    Some of your questions are answered by Leonie contributor in this thread:

    Re: Too many libraries...

    More answers can be found by using help in Photos app, or in general to help the Viewer.

    Apple Support website has links to information in articles; a search on the web is sometimes useful

    to locate the Apple pages faster than the company's site. Others in line include:

    Photos for OS X FAQ:

    http://www.IMore.com/photos-OS-x-FAQ

    How to use the Photos for OS x:

    http://www.IMore.com/how-use-photos-OS-x-ultimate-guide

    Good luck!

  • I keep getting "the trust relationship between this workstation and the primary domain failed" error windows 2008R2

    Hi all

    I appreciate your help. And I hope that this issue has been addressed previously, although I couldn't find any solution there.

    I manage a domain windows 2008 with 3 domain controllers. Recently my workstations continue to fall out of the field. I get "the trust relationship between this workstation and the primary domain failed" to many workstations.

    I know how to fix properly, use netdom.exe. But the mistakes keep coming back. I don't know where to look for the source of this error. A possible problem might be the time in any field is out of sync. But all my workstations synchronize with the domain controller with the primary domain controller role and seems to work correctly.

    Are there other sources, that I need to check? This is getting frustrating.

    Thank you much for the help.

    Sincerely,

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • What is the relationship between the source code (LKS) file and the process file (L4P)?

    I know that Lookout produces a file of source code with an LKS extension when you save a file to process.  Can someone explain the relationship between the two files, especially while the (L4P) process is running?

    1. Is this just a backup file can be recompiled in a process file?
    2. A file corrupt LKS cause strange problems with operation process file?

    I currently have a very strange intermittent behavior with a process file run.  I first thought that the problem was associated with my Fieldpoint and/or their configuration modules.  Since then, I found that my process file has a file corrupt LKS.  I repaired and recompiled my LKS file to a new file to process.  I still don't know if I have solved the problem or not.  So, the problem is intermittent, I did that about 20-30 SECONDS to resolve the problems there before he goes.  Then he can not show up again for another 2-3 days.

    The .lks file is just the source code of your process. It can be opened by a different version of lookout, but does not have the .l4p file.

    The .lks file is not be used while a process is running. Lookout does not read the file more after his execution. So it should not affect the running process.

    What kind of problem, is it?

  • the trust relationship between this machine and the primary domain failed

    Hi I have a virtual server (Server 03) with a vista machine, I can log on to the vista computer, but it happens with the trust relationship between this machine and primary domain failed. I tried to delete the domain vista machine, but he says you need to keep a main area

    Any suggestions gratefully received

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for Windows Server on Technet. Please post your question in the Technet forums. You can follow the link to your question:

  • How to fix Windows 7 32 Bit error: the trust relationship between the th workstation and primary domain failed

    How to fix Windows 7 32 Bit error: the trust relationship between the th workstation and primary domain failed

    Hi João,.

    To help solve the problem, remove the PC from the domain and then connect the computer to the domain.

    Click the Microsoft KB Article below for troubleshooting steps.

    The trust relationship between this workstation and the primary domain failed

    Let us know how it goes.

    Thank you

  • When you connect to Windows 7, get the error "the trust relationship between this workstation and the primary domain failed."

    You open a session in Windows 7, you get an error stating "the trust relationship between this workstation and the primary domain failed."
    Can someone help me please...

    AC of Phil wrote:
    > As you connect to Windows 7 you get an error saying "the trust relationship.
    ' > between this workstation and the primary domain failed.
    > Can someone help me please...

    Contact your domain administrator for the domain of the computer account
    recreated or reactivated, as appropriate.

    --

    Bruce Chambers

    Help us help you:
    http://www.CatB.org/~ESR/FAQs/smart-questions.html

    http://support.Microsoft.com/default.aspx/KB/555375

    They who can give up liberty for a little temporary
    safety deserve neither liberty nor safety. ~ Benjamin Franklin

    A lot of people could die rather that thinking; in fact, most do. ~ Bertrand Russell

    The philosopher never killed the priests, while the priest was
    has killed a large number of philosophers.
    ~ Denis Diderot

Maybe you are looking for

  • Tecra M7: Received no restore CD and cannot update windows

    Hello I live in Turkey and a few days ago I bought a new computer tablet PC 2005 Toshiba Tecra M7. I don't know what part of my message is inappropriate for the forums so I will stick it in more messages. to learn

  • Help: Decommissioning of Win8 for Win7

    I have a new HP Pavilion p6 - 2316 s office running 64-bit Windows 8 I have 2 things that are not win 8 compadable, and I bought the DVD of Windows 7 64-bit. I went and turned off Secure Boot. I also changed the boot sequence so that it starts from t

  • Issue of pre SP2 Vista version

    I'm having a problem. I can't figure out how to remove the earlier version of SP2.  I look in the view installed updates list and it isn't here. I also have the problem where I am unable to install anything because of the pre installed version, he is

  • Error on HP printer running Vista printer spooler failed

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas Hello, I'm having problems to download my printer on my laptop... My error message says that my printer sprool has been removed... I recen

  • After change of hard disk

    When I change my hard drive of my laptop. computer watch What, in other words somethings else was unemployed? What can I do? My laptop is Dell inspiron 15 7537, and I change the same hard driver band for my laptop