Is there sort of SQL command that will make a sum

Is there sort of SQL command that will make a sum of some of the data in one column provided that the data in other columns are the same -- for example, all of the sales from one month added up?

user532580 wrote:
Is there sort of SQL command that will make a sum of some of the data in one column provided that the data in other columns are the same -- for example, all of the sales from one month added up?use SUM() function
post CREATE TABLE & INSERT statements so we have some sample to show actual solution

Similar Messages

  • Is there a terminal command that will close quicktime player once a video is finished?

    I'm running a python program that uses subprocess.call(['open', '-a', "Quicktime Player", filename]) to open a video and defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1 starts it automatically. I'm wondering if there's a terminal way or a python way to close the video once it's finished.

    Hi, Thanks for the reply, I appreciate it.
    What do you mean by "pick up"?
    I mean to show what the DNS numbers are that the router is using.
    They are not entered in the DNS server field in Networks, TCP/IP tab.
    If you mean refresh the client settings, the DNS settings are obtained as part of the DHCP lease (or PPP connection in the case of PPP).
    The user/ OP is actually using PPPoA, when i googled PPPoA.. seems he is using Cisco perhaps.
    http://en.wikipedia.org/wiki/Point-to-PointProtocol_overATM (Asynchronous Transfer Mode)
    "PPPOA or PPPoA, Point-to-Point Protocol (PPP) over ATM, is a network protocol for encapsulating PPP frames in ATM AAL5. It is used mainly with cable modem, DSL and ADSL services.
    It offers standard PPP features such as authentication, encryption, and compression. If it is used as the connection encapsulation method on an ATM based network it can reduce overhead slightly (around 0.58%) in comparison to PPPoE".
    Essentially the original poster removed the OpenDNS #s from his DNS server field in the TCP/IP tab (b/c they seem to make Adobe.com inaccessible to him)
    removing them & allowing his router to "pick them up from the ISP" seems to solved his problem.
    However he can not, find what the numbers are that are being utilized,
    b/c they are not entered as usual in the Network, & part of the DHCP lease,
    or in Airport admin Utility.
    I/ we wondered, if there was a Terminal command that will show what the
    numbers are that are being used .
    Does that help clarify what I mean? Sorry to be so long winded.
    Eme '~[ )♥♪

  • Is there a Terminal command that will pick up DNS numbers?

    Hello all,
    Is there a Terminal command that will pick up the DNS numbers utilized by a router?
    The router options don't show any, though the router is set to use PPPoA to pick them up.
    I kindly TIA,
    Eme '~[ )♥♪

    Hi, Thanks for the reply, I appreciate it.
    What do you mean by "pick up"?
    I mean to show what the DNS numbers are that the router is using.
    They are not entered in the DNS server field in Networks, TCP/IP tab.
    If you mean refresh the client settings, the DNS settings are obtained as part of the DHCP lease (or PPP connection in the case of PPP).
    The user/ OP is actually using PPPoA, when i googled PPPoA.. seems he is using Cisco perhaps.
    http://en.wikipedia.org/wiki/Point-to-PointProtocol_overATM (Asynchronous Transfer Mode)
    "PPPOA or PPPoA, Point-to-Point Protocol (PPP) over ATM, is a network protocol for encapsulating PPP frames in ATM AAL5. It is used mainly with cable modem, DSL and ADSL services.
    It offers standard PPP features such as authentication, encryption, and compression. If it is used as the connection encapsulation method on an ATM based network it can reduce overhead slightly (around 0.58%) in comparison to PPPoE".
    Essentially the original poster removed the OpenDNS #s from his DNS server field in the TCP/IP tab (b/c they seem to make Adobe.com inaccessible to him)
    removing them & allowing his router to "pick them up from the ISP" seems to solved his problem.
    However he can not, find what the numbers are that are being utilized,
    b/c they are not entered as usual in the Network, & part of the DHCP lease,
    or in Airport admin Utility.
    I/ we wondered, if there was a Terminal command that will show what the
    numbers are that are being used .
    Does that help clarify what I mean? Sorry to be so long winded.
    Eme '~[ )♥♪

  • Just purchased Mac Book,   VERY  new to Mac world,   "ouch",,  I am looking to design my own website,,  is there a program built in that will allow this,  if so,, what is it called, and where can I find it???   Thanks,

    Just purchased Mac Book,   VERY  new to Mac world,   "ouch",,  I am looking to design my own website,,  is there a program built in that will allow this,  if so,, what is it called, and where can I find it???   Thanks,

    There are many ways and applications that you can use to build a web site. Which will be best for you will depend on the site you want to build and your level of expertise. Many experienced web developers just use a text editor, often one with specialized features for web programming (BBEdit, for example), but there are programs that can offer additional help, up to and including "drag and drop". Without knowing more about your needs, it's difficult to offer specific advice, but here are some possibilities:
    iWeb - came with your Mac. Easy to build but rather limiting in what you can do.
    RapidWeaver - more flexible and capable than iWeb but harder to use; sort of an "inbetweener" application
    Dreamweaver - powerful but expensive and a steep learning curve
    There are of course a number of other options. If you can provide more detail about what you wish to build and your level of experience, someone can probably make more targeted recommendations.
    Regards.

  • Terminal command that will let me access old username files...

    ... including files saved by timemachine?  I've had a lot of computer problems, first wiped the drive.  It was a chore getting old folders like "desktop" and "downloads" to open for me with my new username and for some reason I wasn't permitted by the system to use the OLD username.  I had to go to every folder and every item in every folder and reset permissions.
    Now, it seems, I need a new drive.  Which means I have to do all those things AGAIN!  Plus re-install software.
    Is there a terminal command that will let me access old timemachine drives (plural) with (unfortunately) multiple usernames?
    Please don't lecture me!  I know I've been hopelessly stupid and inefficient.  I promise to do better.  At least I DID back up.

    what you type is
    man sudo
    I presented an example, which when executed will run as "username" and display the contents of their home directory - the meaning of "ls ~username"
    I suspect that this is going over your head.
    double-click Applications -> Utilities -> Terminal
    type and hit enter
    /bin/csh
    This command starts the C-Shell command line interpreter. The ~ (tilde) character is translated by the C-Shell as the users home directory. For example, "ls ~" will display the contents of my home directory (folder) which is /Users/disguise
    You man want to read up on C-Shell and UNIX commands.

  • Is there an HDR plug in that will work with the 64 bit version of PSE 13?

    Is there an HDR plug in that will work with the 64 bit version of PSE 13?  I was hoping that NIK HDR Pro2 would work since Elements 13 is now 64 bit, but unfortunately, that is not the case.

    julesoir wrote:
    The internal speakers work fine when I boot in Windows, but they don't appear as an option in the System Preferences Output selection when in OS X. Does anyone know what command I could use to tell it to use the internal speakers instead?
    Ideally it would be great if I could then just click between output options in System Preferences, but any solution at all would be greatly appreciated.
    I am not sure if this will help, but if you haven't already checked the settings in the Audio MIDI Setup utility, try 'em out. Most people don't know that utility exists, but it has additional audio routing/muting options that are not in Sound system preferences.

  • I am looking for a map app that will allow me to place pins where my clients offices are on a map and keep them save every time I open the app. Does anyone out there know of an app that will do this?

    I am looking for a map app that will allow me to place pins where my clients offices are on a map and keep them save every time I open the app. Does anyone out there know of an app that will do this?

    "Motion 5" is your friend.
    Michael Wohl has a nice 15 video series (free) about Motion 5 at http://www.macprovideo.com/tutorial/motion5101-overview-and-workflow-guide (right side)
    This is a "teaser" series to sell his tutorials but it is really good. Just saw it yesterday for the first time.
    While all you want is just to place pins, realize that Motion has so much more. All kinds of effects and they can be really customized. Maybe put their street address, contact name, and phone number by the pin?
    Motion 5: cheap at $49.99 (just got my download two days ago)
    Motion 5: Support Community athttps://discussions.apple.com/community/professional_applications/motion_5
    If you're using the map for, say, deliveries, and use an iPad, what you could do is have a general map of the area imported into Motion, create the pins and whatever, then save (share?) it to the iPad.
    Disclaimer: I have virtually no relationship with anything connected with this tutorial product, developer, or anything.

  • My iphone 5 is not syncing with my laptop and windows 8. cant find an itunes app for my laptop. is there something i can get that will help with this

    My iphone 5 is not syncing with my laptop and windows 8. cant find an itunes app for my laptop. is there something i can get that will help with this?

    Lbo51380 wrote:
    cant find an itunes app for my laptop. is there something i can get that will help with this?
    Go here -> http://www.apple.com/itunes/download/

  • I installed iOS 7 and it deleted some of my contacts, as expected, so I just resaved them all. There's one particular number that will save but in my messages, it shows up as the number instead of the name saved. How do I fix it? And why is it doing that?

    I installed iOS 7 and it deleted some of my contacts, as expected, so I just resaved them all. There's one particular number that will save but in my messages, it shows up as the number instead of the name saved. How do I fix it? And why is it doing that?

    I had this problem too, I fixed it by going to my settings and under general at the bottom there is a reset option, go there. One of the options should be reset network settings, select that one. I’m not sure why it happens but that worked for me; hope you have the same luck!

  • I bought my first  iMac 27" i5 in November 2011 last year. Do you think there would be a update that will Features a Retina Display, Siri etc ?? So my iMac will be the same as the new one that will be released this year, Or will I have to buy a new iMac t

    I bought my first  iMac 27" i5 in November 2011 last year.
    Do you think there would be a update that will Features a Retina Display, Siri etc ??
    So my iMac will be the same as the new one that will be released this year,
    Or will I have to buy a new iMac to get all these new updates ??
    It would be a shame if I did because my iMac is only 6months old if that ..
    Kind regards Simon Trott Apple user and proud of it

    We're not allowed to speculate on future or rumoured Apple products, but we all know there'll always be newer tech coming along.
    The iMac you have is an excellent machine, be happy with it and get a good few years use out of it. By the time your machine is slowing down, whatever comes next will have been updated numerous times.
    I had the 2011 i5 27" delivered about 3 weeks ago. It's a cracking machine

  • Is there any app that will make an Iphone4 work as SIRI does on my 4S. Thanks.

    Is there any app that will make an Iphone 4 work as Siri does on a 4S? Thank you. Bob.

    The closest thing that I know of may be an app called VLingo
    http://www.vlingo.com/
    https://itunes.apple.com/us/app/vlingo-voice-app/id297214191?mt=8

  • Is there a version of iMovie that will import ProRes files?

    Is there a version of iMovie that will import ProRes files?
    Final Cut Pro does, but does iMovie HD? And which version?

    Luca,  I'm not sure acceptable life in iMovie at 60p is possible, and not sure about YouTube at this point either.
    (I have a 2.66GHz Core i5 iMac with 8GB ram running Snow Leopard OSX 10.6.8)
    My first export using QT x264 1080 59.94, auto key, +CABAC, crashed iMovie, but later times worked ok.
    The non-QT export 1080 HD computer - puts out a 29.97 fps movie with lots of motion artifacts. 
    I checked plist - videoframerate and newProjectFrameRate were 30, so changed to 60 and redid the import, title, finalize, exports, and share to YouTube.
    The non-QT export 1080 HD computer - still put out 29.97 fps.
    QT Export x264 1080 framerate 59.94 fixed, auto key, +CABAC put out a 43 Mpbs 59.94 H.264 QuickTime movie which occasionally stutters, but it appears to have the same quality as the original 1080p60 footage.
    Moving to a 1080p60 camera has been frought with disappointments.  The latest VLC can play my raw video but it often stutters (from no times to lots of times).
    Repackaging as MP4 using ffmpeg -i in.MTS -vcodec copy -acodec copy out.mp4 doesn't get rid of the stuttering. 
    Toast Video Player also has occassional stutters.
    Converting using Handbrake does not eliminate the occasional stutter.
    QT playing the prores transcoded source footage claims 255 Mbps data rate 59.94 fps, and it also stutters sometimes, sometimes not. 
    The Share... YouTube video: http://www.youtube.com/watch?v=mByr3Y3wfz4  which appears to only be 30 fps (the mp4 download is 30p).
    The 60pQT export uploaded is at: http://youtu.be/Hv1TgcoaxfM also downloads as a 30p MP4 so I have no idea what is going on.
    "(i)Life" in 60p seems a bit complicated.

  • Is there an anti-malware add-on that will make Firefox disconnect from the internet by mistakenly clicking on an infected link!?

    Just wondering if there is an anti-malware add-on that will make Firefox disconnect from the internet by mistakenly clicking on an infected link!?

    In order to be able to find the correct solution to your problem, we require some more non-personal information from you. Please do the following:
    *Click the Firefox button at the top left, then click the ''Help'' menu and select ''Troubleshooting Information'' from the submenu. If you don't have a Firefox button, click the Help menu at the top and select ''Troubleshooting Information'' from the menu.
    Now, a new tab containing your troubleshooting information should open.
    *At the top of the page, you should see a button that says "Copy text to clipboard". Click it.
    *Now, go back to your forum post and click inside the reply box. Press Ctrl+V to paste all the information you copied into the forum post.
    If you need further information about the Troubleshooting information page, please read the article [[Use the Troubleshooting Information page to help fix Firefox issues]].
    Thanks in advance for your help!

  • Is there any place in Pages that will let me make a family tree chart?

    Is there any place in Pages that will let me make a family tree chart?

    Use text boxes for the family members and link the boxes by selecting both (or any lines) using:
    Menu > Insert > Connection line
    You can only link 2 objects at a time, but can build up the structure which remains linked.
    Peter

  • Is there an external hard disc that will work with Mac OS10.4.11 and Windows Vista?

    Is there an external hard disc that will work with both Mac (OS10.4.11) and Windows (Vista)?

    For NTFS on Mac, there are both open-source and commercial solutions. See:
    http://www.macupdate.com/find/mac/NTFS
    For HFS+ Drivers for Windows, there is only one:
    http://www.mediafour.com/products/macdrive
    Regards.

Maybe you are looking for