Most Popular/Second Most Popular

I am trying to retrieve the most popular STATION used. If there is a tie, choose the most recent DESCRIPTION (Table 2) and use the other for second most popular.
The tables are joined by TUB
TABLE 1
ID     TUB     STATION
100000     1002     3
100000     1002     3
100000     1002     3
100001     1201     4
100001     1202     3
100039     1003     1
100039     1003     5
100039     1003     2
100039     1002     2
100039     1002     1TABLE 2
YEAR     TUB     DESCRIPTION     DATE
2012     1201     LP1 12     18-Jan-12
2012     1202     LP2 12     18-Mar-12
2012     1203     LP3 12     18-Jun-12
2012     1204     LP4 12     18-Sep-12
2010     1003     LP3 10     18-Jun-10
2010     1002     LP2 10     19-Mar-10
2010     1001     LP1 10     20-Jan-10
2009     904     LP4 09     15-Sep-09Any help apreciated
Edited by: 927374 on 15/04/2012 20:21
Edited by: 927374 on 15/04/2012 20:22
Edited by: 927374 on 15/04/2012 20:28
Edited by: 927374 on 15/04/2012 23:57

If you read the FAQ, you will see:
>
7) Begging for points
Posting an answer and finishing the post by saying something like "If my answer useful, mark it as correct or helpful" is not acceptable. This is considered begging for points. The points system on the forums, as agreed by most of the regulars on here, is not an ideal system. The last thing it needs is people begging to gain points for themselves so that they can boost their ego by trying to reach "Guru" status to impress their friends. The purpose of these professional forums is to help others, have our own questions answered and to learn new things for ourselves. Most of the experts and gurus on these forums have gained points and their status through simply answering questions well without asking for them. Sometimes points are awarded, sometimes not, and that is up to the original poster as to whether they follow the forum etiquette. Anyone spotted asking for points in any form is liable to have such comments edited out of their post or the post deleted (if deletion isn't removing an actual answer). You have been warned!
>
As your name is a fairly flagrant violation of this, could you please change your name. Thank you.

Similar Messages

  • I have an ipod touch 5th gen and when connected to itunes i get a message saying itunes was unable to load data class information from sync services. reconnect or try again later. anyone got any ideas? i've tried most things on most forums but still no jo

    i have an ipod touch 5th gen and when connected to itunes i get a message saying itunes was unable to load data class information from sync services. reconnect or try again later. anyone got any ideas? i've tried most things on most forums but still no joy

    Try here:
    iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
    If not successful see the previous discussion on the right side of this page with the green checkmark.

  • TS1398 I am having trouble with safari dropping most Internet connections most every time I'm on.  This is a first generation iPad. Can this be cried?

    II am having trouble with safari dropping most Internet connections most every time I'm on.  This is a first generation iPad. Can this be cried?

    This issue was resolved! I didnt think about restoring my computer to factory settings but I did and now my computer works like brand new. basically, just back up your files and do the following:
    http://www.youtube.com/watch?v=yPmT5Xbb8p0

  • Keystroke to dim everything but the most current top most window

    Is there a keystroke to dim everything but the most current top most window - or automatic setting as default ?

    I don't know of a built-in way to "dim" windows at all. The brightness controls on Macs control the overall brightness of the display. Option-Command-H will hide all other applications, if that helps. There are probably several third-party applications that perform similar "focus on one app" functions.

  • IWeb crashed. Most recent page (mostly) lost. Suggestions?

    Okay, I've searched the forum and am afraid I already know the answer, but I'll post this anyway.
    On a month-old iMac (24 inch, 3.06 GHz), I was working on a page yesterday of vacation pictures. I keep pages of pictures of my daughter for out-of-town relatives, creating a new page for each month. I just started the August page and was placing 145 captioned pictures on the page. Midway through, iWeb crashed, and when the app restarted, the August page had been replaced by a generic page with three "Drag Your Photos Here" frames. An hour's worth of work had evaporated. And, no, I had not saved.
    So I started again--and this time I saved frequently. I eventually added all 145 pictures and captioned each. I saved and then uploaded to MobileMe. Then I left the computer to accomplish other tasks. When I returned, I saw the message that iWeb had again crashed and when I relaunched it--in spite of my multiple saves--the page was lost and iWeb had reverted to a pre-saved condition with the same generic page described above.
    I went to the Domain.sites2 file and reopened it, but my August page was lost.
    I searched the discussion threads. I read the iWeb FAQ pages (http://iwebfaq.org/site/iWebBackupretrieve.html). I used extensive profanity.
    The most frustrating part is that it did correctly upload to MobileMe, so my family has access to these pictures... but I don't. I want to keep adding to the August page.
    I understand that I'm probably going to have to recreate the page. *But I don't want to waste 90 minutes or 2 hours of my time just to have the same thing happen a third time*.
    Any suggestions would be appreciated.
    Thanks.

    To help you recover for unusual situations in the future you can use Varkgirl's Automator workflow which will compress (zip) and backup the contents of your User/Library/Application Support/iWeb folder to the Documents folder. You can get if from Varkgirl's iWeb Tips and Tricks site. Or Click Here to download it directly from her site.
    I've created a modified version which does not zip the domain file but copies the entire iWeb folder to the Desktop. You can edit the file with Automator to change the destination of the copied folder to wherever you'd like. You can download it from Toad's Cellar .
    OT

  • In Keynote '09 distribute objects horizontally/vertically is distributing objects beyond the slide. How do I make the left-most and right-most objects the limit of the distribution?

    I used to have the option of distributing objects so that they would overlap, but the current "distribute" tool is functioning as if overlapping isn't allowed. The result is that the objects move beyond the limits of the slide. Any suggestions?

    I know that's what *should* happen, but it just doesn't. I've made screen-grabs of the entire process:
    Like I said, this use to work just as you've described it. Is there a box I accidentally selected? I just really don't understand why the tool has changed the way it functions...

  • Why isn't Mozilla Firefox available on the MOST SELLED and MOST WISHED tablet on the market? The iPad! I mean, Firefox home is not even an universal app.

    Mozilla, the Apple App Store restrictions didn't prevent. Dolphin from going to the App Store, you, Mozilla, are just not putting as much attention and effort and you should be.

    "We have no plans to release the full Firefox browser for iOS. The iOS SDK agreement requires apps to use Apple's own JavaScript engine (or none at all, like Opera Mini which downloads pre-rendered pages from Opera's servers and cannot run JavaScript code in the client). Because of this, we have no supported way to distribute Firefox's rendering and JavaScript engine to iPhone users."
    See: https://wiki.mozilla.org/Mobile/Platforms
    Or: [http://www.zdnet.com/blog/hardware/will-firefox-mobile-ever-be-released-for-ios-devices-no-blame-apple/10770 Will Firefox Mobile ever be released for iOS devices? No, blame Apple! | ZDNet] Dec. 2010

  • I want to run the most secure and most stable version, not the latest

    ''locking - duplicate - https://support.mozilla.com/en-US/questions/859982''
    Apologies if this is a duplicate but I got no confirmation when I clicked on the link sent to my e-mail Inbox.
    I have several PCs and support many local business owners.
    Neither I nor they need the latest gadgets and gizmos - what we all need is stability and security. I always keep all users on versions of code that have passed from bleeding-edge development into their support and maintenance phase.
    I am wanting to download the latest release of version 4 (of Firefox) but missed it due to your rapid switch to v5.
    I did several searches and could not find it on your site - can I suggest that it should be there to satisfy your supporters who moved from MS IE due to the dreadful security issues - esp. Active-X over your early-years.

    Thanks for the rapid response - if I had found the information you have provided (v4 discontinued) I would have modified what I had asked for as below.
    Where is the link to the latest releases of Firefox version 3 as that is obviously what I should be using. I always download software (inc. add-ons / extensions) rather than allow automatic update because I can then restore to a known secure and stable release when needed.
    Last minor point - I just did a Google search for LTS (and software) as I had never come across the acronym in 35 years of software development - what does LTS expand into?
    Again thanks for the help so far... BR.

  • Why did kids build FCPX?  Apple has thrown out some of the most basic and most important editing tools, Ugh......

    What happened to the numbers that let you know how much your audio is out of sync to your picture.

    What happened to the numbers that let you know how much your audio is out of sync to your picture.

  • Searching for Apps - Most Popular

    I was just looking at the itunes app store and comparing it to my experiene with Android Market when it comes to search.  When typing something or some topic in the search bar...a bunch of apps will come up but they dont seem to be in any particular order.  Are they?  Can you put them in order such as most popular or most downloaded?  Unless the apps are in the top list, its hard to find which are the good ones and the most popular, most downloaded, best reviewed.  When I look at what pops up after the search, the apps seem to be in no particular order.  Often the ones with the most and best ratings are in the middle or bottom of the page, and the top apps are not well-rated.  The iphone app store is supposed to be the creme of the crop so I dont understand why the search engine seems so OFF compared to what I notice with Android Market where the apps are generally listed in order of popularity.
    So whats the best way of finding iphone apps you want?

    http://appshopper.com/

  • How often do you upgrade popular/most downloaded?

    I have a popular colour combo on Kuler but other colours with lesser downloads and ranking are higher on the popular and most downloaded lists. Why is that?
    As I'm fairly new to Kuler, I'd also like to add that I really enjoy it and am getting slightly addicted. Kuler has been of great help! So - thanks and keep up the good work!

    Hi Adobengt,
    What is the name of the Kuler theme your are seeing this behavior with?
    -Dave

  • Still most company-specific apps are only for Andr...

    Are there any plans to make Windows phone more popular for app developers? Still most company-specific apps are only made for Android and Iphone.
    Coming from a Symbian phone, the Lumia 710 was a big disappointment, especially the navigation apps which still aren't restored to what we had several years ago. Slowly slowly the navigation is getting better only for WP 8 phones, but as long as Lumia isn't interesting for app developers, it isn't interesting for me either.

    Hi,
    Why do you say that Windows Phone isn't interesting for developers? Windows Phone is already the second most sold mobile system on several important markets, like the huge market of emergent countries. As a matter of fact Windows Phone is outselling iOS in markets like South America, for instance. I think is just a matter of time 'til companies realize that.

  • Popularity vs Reliability: How does the People's C...

    Having been a long-time fan of Nokia (I started with the 2100 and have since used the 5100, 6150, 5600 and now 6710 Navigator) I'm curious to know what users and Nokia professionals can tell me - what do you think is the best mobile device made by Nokia? Is there one model which is the most popular, or most reliable or has the best combination of functionality and form?

    No - not at the present time anyway.
    All email recipients are saved in a list of previous recipients and the autofill feature pulls from contacts and from the list of previous recipients. Different from the Mail.app on a Mac, there is no access to the list of previous recipients to add a previous recipient to contacts that is not already entered, or to remove a previous recipient from the list.

  • Why oracle gets so popularity

    hi. main aspect of my quection is to get the Main difference b/w Sql*Server and Oracle? and why oracle have got so much popularity that most of the organizations are shifting to oracle. thanks

    Why is Oracle so popular?
    Oracle has a very large feature set and in may cases provided these features before competing vendors got the same features into their database products such as outer joins, table triggers, PK, UK, and FK constraints, etc... The pl/sql language provided the trigger language and also stored code: procedures, functions, and packages. Pl/sql has proven to be very popular with DBA's and developers for performing tasks.
    To the standards listed above Oracle has analytic queries, an extensive list of hints to affect the optimizer plan, and vendor provided scripts to assist with locating and dealing with locking, performance, and management problems: utllockt, statspack, and utlrp.
    Oracle makes just about everything about what is stored in the database available via the rdbms dictionary views: dba_tables, dba_indexes, dba_views, dba_constraints, etc...
    Oracle also makes information on its current memory management/load/utilization available via the v$ dynamic performance views. No other db vendor provides access to this detail level of information about what is currently occurring in the database. These views provide a wealth of tuning information to the DBA.
    Almost all Oracle rdbms management functions are performed using extentions to the basic SQL language. Oracle has added Alter database and Alter system commands for performing DBA tasks. An example might be "alter database recover datafile '/dev/xxx' " This makes working with Oracle from a command line prompt such as SQLPlus easy.
    SQLPlus is also a very nice command line processor. It has very good formatting ablilites so not only can you use it to create quick and dirty queries for DBA usage but you can also create some fairly decent user reports.
    Add the ability to run what looks and acts like the same product on everything from a PC to a Mainframe and you have a powerful argument for Oracle as a shop wide standard.
    Oracle is suitable for use with OLTP, DSS, OLAP, and/or Warehouses applications.
    IMHO -- Mark D Powell --

  • I have a macbook pro OS 10.5.8. I've sync'ed it with an iPad 2. I would like to access the "cloud" but it seems my Leopard isn't sufficient. How high an OS upgrade would i need to use cloud? Most of my current apps wouldn't work with a too high upgrade.

    I have a macbook pro OS leopard 10.5.8. I've synced it with an iPad 2. I cannot access the cloud because my OS is insufficient. Problem is most of my most- used applications would not work with a too-high system upgrade. I can't afford to upgrade all my apps. I need to know: what would be the least-high system upgrade I can install in order to access the cloud on my new iPad 2? 
    MAC O.S. 10.5.8 - LEOPARD
    MacBookPro
    MacBookPro4,1
    Intel Core 2 Duo - 2.5 GHz; speed 800 MHz
    Quark Express 7.3
    Adobe Acrobat 8 Pro
    Adobe Photoshop CS 3
    Adobe Illustrator CS 3
    Adobe InDesign CS 3
    Microsoft Office 2008
    Extensis Suitcase Fusion 12.1.7
    Stuffit 12
    Thanx
    calico6

    Define "access the cloud". I can access my iCloud.com account on my 5 year old iMac at work running OS X 10.4.11 Tiger. I can download and upload Word documents and Pages documents in the iWorks section of my iCloud.com account.
    What do you want to access in "the cloud"?
    Snow Leopard would be your next system upgrade and you should be OK with the CS3 applications, and Office 2008. I cannot confirm that the other applications will work.
    This is quite old, but take a look or Google the other applications to see if they are compatible with SL.
    http://www.macintouch.com/specialreports/snowleopard/slcompat.html

Maybe you are looking for

  • VMS new install - IP box issues

    Installed my VMS and 2 IP boxes without issue.  However, I am now seeing a problem between the IP boxes.  I only have the 3 total units.  While watching a channel on IP1, if I put the same channel on IP2, IP1 freezes, as if it were paused. To correct

  • Tips for working with USB floppy drives

    I was just wondering if anyone had any tips on working with USB floppy drives in Archlinux. One thing I've noticed is that trying to use mkfs.msdos on my USB floppy drive directly doesn't seem to result in a usable disk (it's mountable, but reports t

  • Pro*C 8051 problem AIX -- Linux

    Hello. This is my problem trying to port an application from AIX to Linux. I installed redhat 6.0 on PII350 128Mb ram. kernel 2.2.5 I installed Oracle 8051 enterprise edition, the glibcpatch, inserted the defines: define=_STDIO_H define=_STRING_H def

  • NO Graphics Card? ***?

    I just bought the new Mac Book Pro 17" When I goto Apple > About this Mac, it says: Graphics  Intel HD Graphics 3000 512 MB But when I click more info > Graphics, I see AMD Radeon HD 6770M (PCIe) and Intel HD Graphics 3000 (Built-in). What's the deal

  • ChoiceBox and ComboBox

    Hi all, I am using Scene Builder and I have two questions about Choice Box. 1) What is the difference between ChoiceBox and ComboBox? It seems both have same features and functionalities 2) How to change default item1, item2, etc, font style and size