11th Feb and counting

So my phone line went off sometime during the morning of 11th February (came home for lunch and found it dead) and I'm still sitting here with no phone or internet (BT WiFi hotspot at fair strength has kept me sane, just).
I, like others on here have been constantly ignored, fobbed off, lied to and treated in such a way that if I ran a business and treated my customers this badly I would rightly lose them.
The fault was (after nearly a week) traced by the Openreach engineer to the exchange, to be precise the new street cabinet just outside the exchange. It appears that in installing the new cabinet for future fibre BB the engineers have disconnected my line which used to be DTE and not reconnected it - cheers guys.
Apparently I'm told by the Openreach engineer it's a 'job for the actual BT guys and a specialist as they have to go down the manhole to fix it'. This I was told could take another TWO WEEKS.
To be fair a different engineer (a short scruffy chap) turned up today and was up ladders and poles outside and also had the cover in the pavement up - I went and introduced myself and asked if he would need access to my property to which I received a curt reply of 'no'. Then he carried on working and obviously wasn't the chatty, friendly type. So I left him to it. He returned a while later after presumably going back to the exchange (which is a 2 miniute walk away, if that) with another younger chap. They were there working for another half hour or so then left without a word, also leaving the gate wide open which had been shut when they arrived.
I have been promised 'communication' from BT and have recieved little - two times with an Indian sounding person that was barely understandable and once with an English lady who was friendly but clearly couldn't wait to get off the line!
I was told in one call that I had closed the case and the fault was resolved!!! I nipped that in the bud in no uncertain terms! I have received no more info as to exactly what is going on and I am disgusted at the lack of concern, urgency, communication and generally poor level of service I have received - for a fault on THEIR equipment caused by their own incompetence. I now fear that receiving billing credit for all of this down time will be just as much of a drawn out farce.
Solved!
Go to Solution.

Chris
I haven't read all this thread but what you have said about being BT's reponsability is correct.
Your contract is with BT. It is not with Openreach and as far as you are concerned Openreach have nothing to do with any aspect of your contract with BT. Openreach do not provide you with anything, you do not pay Openreach for anything. You pay for the service from BT.
If you have a problem, regardless of where it is, it is BT's responsibility to you to get it sorted.
If BT have to deal through/with Openreach that is of no concern to you. If BT contract somebody else to install or carry out work on their behalf, that is no concern of yours. It is solely up to BT to sort you out and fulfil their part of the contract to you and supply the service that you pay them for.
They can not say sorry that is Openreach to blame for that. It may well be Openreach are to blame but that is up to BT to sort out with Openreach and not use it as an excuse for poor or bad service. 
The sooner that the excuse of Openreach are responsible for the this and BT are not responsible for that is stopped the better.
Responsibility for the product sold to the customer lies in its entirety with the retailer who in this case is BT
Ectophile, you are wrong about the shop being stuck in the middle. Under the Sale of Goods Act it is the retailers responsibility to repair or replace the faulty goods. Again it is of no concern to the customer which company does that. If Assus won't fix it that is the retailers problem not the shop customers.

Similar Messages

  • Group and count

    Hello Friends,
    I have a query where I select organization, item_num, and transaction_date.
    I need to group and count the result by transaction_date, so I will have 3 groups:
    First - will count records where transaction_date falls between the 1st and 10th of the month.
    Second - will count records where transaction_date falls between the 11th and 20th of the month.
    Third - will count records where transaction_date falls between the 21st and 31st of the month.
    The result of this count will be used in the Oracle Report.
    Please, give me your advise on how I can achive this.
    Thank you.

    select organization,
           item_num,
           count(case
                   when transaction_date between trunc(transaction_date, 'mm') and trunc(transaction_date, 'mm') + 9 then 1
                 end) "1-10",
           count(case
                   when transaction_date between trunc(transaction_date, 'mm') + 10 and trunc(transaction_date, 'mm') + 19 then 1
                 end) "11-20",
           count(case
                   when transaction_date between trunc(transaction_date, 'mm') + 20 and trunc(last_day(sysdate)) then 1
                 end) "21-end"
      from mytable
    group by organization, item_num
    Ramin Hashimzade

  • Now 9 engineers and counting

    Update to:-
    8 Engineers and counting
    11-Feb-2011   Engineer #8 visits. No fault found, said service has been capped. Engineer phones to have cap removed but cannot get through. Installs new master socket and radio filter on line to 'see what happens'. Get callback from BT asking if speed is ok. When informed it is not I am told it should get better over 48 hours.
                      After 48 hours speed is still the same and informed that BT will ‘monitor the fault’.
    18-Feb-2011   Phone them for progress update  and am told they are still ‘monitoring’
    20-Feb-2011   Am told an engineer needs to call.
    21-Feb 2011   Engineer #9 visits. FAULT FOUND. Something back towards the server is stopping the engineer from syncing. While trying to locate the fault it disappears and he can now sync at 4.7mb. Contacts control in Swansea and arranges a ‘Lift and Shift’, which means changing the exchange equipment and rerouteing to the server. Sync drops to 2mb. Contacts control again and is told to give it a couple of days to lift itself.

    New Fault No:-            VOL-011/5055439xxxx
    31-May-2011  Had a email from Mod on 16th confirming that my Sync speed was now
                        4928 Kbps and a profile of 4000 Kbps. Not as good as the 4500 Kbps
                        profile the engineer got but I could live with it.
                        Until today.
                        Down to 1.4Mb again. IP Profile 2000 Kbps. Usual waffle from India about
                        it being the most I can expect, even after they checked the fault history
                        and they could see the speed I have been getting. Finally got them to deal
                        with it but am not holding my breath.
                        Because I now have a new fault number I will be claiming a refund (3rd)
                        against the old fault number.

  • DIFFERENCE BETWEEN SUM AND COUNT IN SQL

    DIFFERENCE BETWEEN SUM AND COUNT IN SQL
    WHAT IS THE DIFFERENCE VERIFY IN DETAIL/

    21031980, I suggest you upgrade your computer sothat you can access google.
    lol.
    wtfpwnd.Google is also helpful for understanding the strange
    acronyms that show up around here lately (yes, I did
    find and understand this one). :-)Haha, sorry!
    It's the inner-gamer in me rearing its ugly head...
    :-)

  • Counter issues with 2D raster scan and count acquisitio​n

    I am building a confocal laser scanning microscope and am currently attempting to develop labview controls for it. I have a fast steering mirror (FSM) which takes analog voltage inputs to control it's x and y angle and I have an avalanche photo diode (APD) which sends a TTL pulse for each photon detection event. For now, I am trying to create a program which will send out two analog signals to create a 2d raster scan with the FSM and count the number of pulses from the APD per pixel. I have been trying to make the program from https://decibel.ni.com/content/docs/DOC-5779 work, but I keep running into counter issues. I am using a generated pulse train from the other counter on my device (NI 6011E) as the period.term input, but I get a "Two consecutive input signals occurred without a counter timebase edge" error if I increase the frequency of the pulse train too high. Unfortunately, the number of pixels I can acquire seems to be limited to twice the frequency of the counter, so I cannot just use a lower frequency train. I believe that the error is occurring because the count rate from the APD is very low and that there are simply no photons hitting the detector in the time period between pulses.This is not a problem, but I would like to know how to simply record a 0 and continue with the scan, rather than have the entire program exit with an error.
    Alternatively, if this does not seem like the correct way to accomplish what I am trying to do, I am open to new directions.

    So simply ignoring the error did not work, because the DAQmx subroutine stops collection when the error is detected. I think I may need to come up with a different approach to synchronize the counting of TTL pulses with an analog output. Attached below is the code I have been working with.
    Attachments:
    Raster_2DOutput_wCounter_82.vi ‏45 KB

  • SSRS report with tabular model – MDX query how to get the sum and count of measure and dimension respectively.

    Hello everyone,
    I am using the following MDX query on one of my SSRS report.
    SELECT NON EMPTY { [Measures].[Days Outstanding], [Measures].[Amt] } ON COLUMNS,
    NON EMPTY { ([Customer].[Customer].[Customer Key].ALLMEMBERS) }
    HAVING [Measures].[ Days Outstanding] > 60
    DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME ON ROWS
    FROM ( SELECT ( STRTOSET(@Location, CONSTRAINED)) ON COLUMNS
    FROM ( SELECT ( {[Date].[Fiscal Period].&[2014-06]}) ON COLUMNS
    FROM [Model]))
    Over here, the data is being filtered always for current month and for a location that is being selected by user from a report selection parameter.
    I would like to get the count of total no. of customers and sum of the amount measure.
    When I am using them in calculated members it gives incorrect values. It considers all records (ignores the sub-select statements) instead of only the records of current month and selected location.
    I also tried with EXISTING keyword in calculated members but there is not difference in output. Finally, I manage the same at SSRS level.
    Can anybody please advise what are the ways to get the required sum of [Measures].[Amt] and count of [Customer].[Customer].[Customer Key].ALLMEMBERS dimension?
    Also, does it make any difference if I manage it as SSRS level and not at MDX query level?
    Any help would be much appreciated.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Can anybody please advise what are the ways to get the required sum of [Measures].[Amt] and count of [Customer].[Customer].[Customer Key].ALLMEMBERS dimension?
    Also, does it make any difference if I manage it as SSRS level and not at MDX query level?
    Hi Ankit,
    We can use SUM function and COUNT function to sum of [Measures].[Amt] and count of [Customer].[Customer].[Customer Key].ALLMEMBERS dimension. Here is a sample query for you reference.
    WITH MEMBER [measures].[SumValue] AS
    SUM([Customer].[Customer].ALLMEMBERS,[Measures].[Internet Sales Amount])
    MEMBER [measures].[CountValue] AS
    COUNT([Customer].[Customer].ALLMEMBERS)
    MEMBER [Measures].[DimensionName] AS [Customer].NAME
    SELECT {[Measures].[DimensionName],[measures].[SumValue],[measures].[CountValue]} ON 0
    FROM [Adventure Works]
    Besides, you ask that does it make any difference if I manage it as SSRS level and not at MDX query level. I don't thinks it will make much difference. The total time to generate a reporting server report (RDL) can be divided into 3 elements:Time to retrieve
    the data (TimeDataRetrieval);Time to process the report (TimeProcessing);Time to render the report (TimeRendering). If you manage it on MDX query level, then the TimeDataRetrieval might a little longer. If you manage it on report level, then the TimeProcessing
    or TimeRendering time might a little longer. You can test it on you report with following query: 
    SELECT Itempath, TimeStart,TimeDataRetrieval + TimeProcessing + TimeRendering as [total time],
    TimeDataRetrieval, TimeProcessing, TimeRendering, ByteCount, [RowCount],Source
    FROM ExecutionLog3
    WHERE itempath like '%reportname'
    Regards,
    Charlie Liao
    TechNet Community Support

  • What is the difference between count(*) and count(1)

    what is the difference between count(*) and count(1)

    Hi,
    903830 wrote:
    some say count(1) is faster and some say count(*), i am confused about count function?In the link provided by Prakash :
    prakash wrote:
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1156159920245
    You can read :
    Followup   August 31, 2001 :
    I'll have to guess, since you don't say, that you are using 7.x and before when count(*) and count(1) were different (and count(1) was slower). In all releases of the databases for the last 4-5 years, they are the same.
    Don't waste your time on that.
    ;-)

  • Time Capsule with BT Home Hub - 9 hours of trying to set up and counting...

    Hi...I am at my wits end having spent two long evenings trying simply to connect a Time Capsule to an iMac. We have pored over the instructions, read all the postings in all the forums, probably in the entire world (OK, slight exaggeration) and tried every possible combination, and still we end up with a non-responsive Time Capsule (blinking amber light), and the Airport software saying "Waiting for the Time Capsule to restart" in a perpetual loop. The issues may well be around compatibility with the BT Home HUb, but there again they may not. There are no clues about why it fails so consistently in every combination. For the record, these are the combinations we have so far tried: ethernet connection from WAN port on TC to Ethernet port on Home Hub...A wired connection is established successfully. But then immediately the wireless connection wizard starts up, we can't turn it off, and the wireless connection wizard fails. We have tried it in all three combinations of the Wireless wizard. The end result is always the above, the blinking amber light.
    We have tried adding the TC without any ethernet connection being involved in the first place. This was the most promising, we actually finally got a green light on the TC itself, but, crucially, NOT in the Airport software: that just hung in the same perpetual loop saying "waiting for Time capsule to restart", even though it CLEARLY HAD RESTARTED (because it gave us the green light). So, after about 9 hours and counting trying to get this "out of the box" solution simply to be recognised by a Mac computer, let alone connected to any other devices in the house (heaven forbid), we are now at our wit's end. Does anyone have any advice?

    hi cprelude, I have the same or nearly the setup as you a BT HH V1 and a 500gb timecapsule this is hardwired to bt hh and works well so fear not it can be resolved. first hold the reset button on the HH with the TC disconnected, then while the HH is restarting unplug the TC for a couple of mins then replug inyour TC with the reset switch at the rear pushed in and then let the TC restart and plug in the ethernet cable to thr HH then use Airport utility to connect to the TC. then if all goes well you can set up two wireless networks first being the HH and the second the TC 5ghz. if I was you I would do the first backup on TC via ethernet as the first wireless backup can take hours and hours depending on the amount GBs you already have on your hard drive
    good luck
    john

  • Windows 7 and counter-strike source shuttering.

    I have concluded this is caused by creatives driver by disabling the card in device manager the shuttering is gone. Is there a work in progress for this or some kind of work around until it is fixed?

    Re: Windows 7 and counter-strike source shuttering. Found a simple work around until someone can fix this, found this over in the sevenforums.com
    Hi there, I've recently had an extremely annoying issue regarding sound, games, multiplayer, and Windows 7. When I would start up a game (such as Counter-Strike Source or Heroes of Newerth) and connect to server, my fps and ping would be nominally ok, but the game would lag. In HoN this would be displayed by the heroes moving jerkily around the map, even though my fps and ping were good. In Counter Strike, this evidenced itself by glitchy nades that don't bounce smoothly, and whenever sounds are played, the ping spikes a bit. It's kind of like playing on a 33 tic server, for those of you familiar with the game. None of these issues occurred in single player games or in the aforementioned games with a local server.
    Anyway, I searched and searched here and couldn't find anything, but finally I found something in Google:
    Stop and disable the "Multimedia Class Scheduler" service<
    Run regedit and go to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servi ces\Audiosrv"<
    Double click on the entry "DependOnService" and delete the line with "MMCSS" from the text box<
    Reboot and enjoy lag free games<
    This fixes issues with Realtek '97 (my motherboard uses nforce 4 chipset), and I'm guessing it will also fix issues with Creative Audigy 2 ZS, which I also have installed at the moment, but haven't tested.
    I diagnosed the issue by realizing that by disabling audio devices in device manager, lag would disappear in-game. So glad I found this solution after installing 6 different audio drivers and generally being very frustrated. Just thought I'd leave this here as a reference for others with a similar issue.
    Original solution by Mirkon. Thanks!

  • Sender System and Counter in Receiver file

    Hi,
      I have a requirement of having 'Sender Sytem ID' and 'Counter' in receiver flat file.
    Please suggest, what is the best way to achieve this.
    Scenario :  ABAP --> PI ---> Legacy System
                      Proxy to File scenario
    regards
    Amol

    Hi,
    Please refer the following threads-
    System ID in the user defined function
    /message/686478#686478 [original link is broken]
    As mentioned in the threads, use the method
    System.getProperty("SAPSYSTEMNAME"); in udf for getting SYSID.
    Counter??? DO you mean record counter..something like that??
    You can use the standard count (statistic) or counter(arithmatic) functions for that.Please check the documentation for more help.

  • Reading a file, and counting how many e's there's in it!

    Hello everyone!
    Well, I'm trying to write a program that'll read a file and count the number of e's in there and print it out.
    This is what the Index.txt file contains:
    In Xanadu did Kubla Khan
    A stately pleasure-dome decree:
    Where Alph, the sacred river, ran
    Through caverns measureless to man
    Down to a sunless sea.And this is my source code:
    import java.io.*;
    public class Appearance{
        public static void main(String[] args) throws IOException{
         index = new BufferedReader(new FileReader(("Index.txt")));
            while((letter = index.readLine()) != null){
       if(letter.contains("e")){
           eCount++;
      System.out.print(eCount + "\n");
      if(index != null){
          index.close();
       index = null;
    private static BufferedReader index = null;
    private static String letter = null;
    private static int eCount = 0;
    }But for some reason when I run it, the output is 4?.. Please tell me why, as I figured that this should work.. :O.

    Vimsie wrote:
    But for some reason when I run it, the output is 4?.. Please tell me why, as I figured that this should work.. :O.Because you are counting the number of lines that contain one or more 'e's. You don't count the occurances.

  • VB 2012 - Help Finding Specific Numbers in a Database Column and Count the Number of Times They Appear.

    Hello,
    I am doing a project that uses MS Access to access data about a baseball team . The MS Access Database provides the names, addresses, and age of the players. All the players are 12, 13, or 14 years old. I need to display the average age for the team on a
    label, which was easy. The problem is that I also have to display the number of players who are 12, 13, and 14 years old and I have no idea how to do that.
    Here is my code so far:
    Public Class frmBaseball
    Private Sub TeamBindingNavigatorSaveItem_Click(sender As Object, e As EventArgs) Handles TeamBindingNavigatorSaveItem.Click
    Me.Validate()
    Me.TeamBindingSource.EndEdit()
    Me.TableAdapterManager.UpdateAll(Me.LittleLeagueDataSet)
    End Sub
    Private Sub frmBaseball_Load(sender As Object, e As EventArgs) Handles MyBase.Load
    'TODO: This line of code loads data into the 'LittleLeagueDataSet.Team' table. You can move, or remove it, as needed.
    Me.TeamTableAdapter.Fill(Me.LittleLeagueDataSet.Team)
    End Sub
    Private Sub btnAges_Click(sender As Object, e As EventArgs) Handles btnAges.Click
    Dim strSql As String = "SELECT * FROM Team"
    Dim strPath As String = "Provider=Microsoft.ACE.OLEDB.12.0 ;" & "Data Source=e:\LittleLeague.accdb"
    Dim odaTeam As New OleDb.OleDbDataAdapter(strSql, strPath)
    Dim datAge As New DataTable
    Dim intCount As Integer = 0
    Dim intTotalAge As Integer
    Dim decAverageAge As Decimal
    odaTeam.Fill(datAge)
    odaTeam.Dispose()
    For intCount = 0 To datAge.Rows.Count - 1
    intTotalAge += Convert.ToInt32(datAge.Rows(intCount)("Age"))
    decAverageAge = Convert.ToDecimal(intTotalAge / datAge.Rows.Count)
    Next
    lblAverage.Visible = True
    lblAverage.Text = "The average age of the team is " & decAverageAge.ToString("N2")
    lbl12.Text = "The number of 12 year olds is "
    lbl13.Text = "The number of 13 year olds is "
    lbl14.Text = "The number of 14 year olds is "
    lbl12.Visible = True
    lbl13.Visible = True
    lbl14.Visible = True
    End Sub
    End Class
    I think I should use a For..Next loop but I don't know how to identify and match using this database, and then count how many repeated 12, 13, 14 years old there are.
    Any help would be really appreciated.

    Hello,
    Conceptually speaking you would group the data and count. Beings this is school work the demo below is a static example and not suitable for your assignment, its to show a point. Now if you have learned about LINQ and Lambda this logic can apply to your
    question but need to work out using this your data which can be done. If not look at using SQL Grouping.
    Example of SQL grouping and count
    select country, count(country) as count from customers group by country
    Module Module1
    Public Sub GroupingDemo()
    Dim dt As DataTable = SimulateLoadFromDatabase()
    Dim TeamData = dt.AsEnumerable.GroupBy(
    Function(student) student.Field(Of Integer)("Age")) _
    .Select(Function(group) New With
    Key .Value = group.Key,
    Key .Info = group.OrderByDescending(
    Function(x) x.Field(Of String)("Name"))}) _
    .OrderBy(
    Function(group) group.Info.First.Field(Of Integer)("age"))
    Dim dictData As New Dictionary(Of String, String)
    For Each group In TeamData
    Console.WriteLine("Group: {0} count: {1} ", group.Value, group.Info.Count)
    dictData.Add(group.Value.ToString, group.Info.Count.ToString)
    ' The following is not needed but good to show
    For Each item In group.Info
    Console.WriteLine(" {0} {1}",
    item.Field(Of Integer)("Identifier"),
    item.Field(Of String)("Name"))
    Next
    Next group
    Console.WriteLine()
    Console.WriteLine("This data can be used to populate control text")
    For Each Item As KeyValuePair(Of String, String) In dictData
    Console.WriteLine("{0} {1}", Item.Key, Item.Value)
    Next
    End Sub
    Private Function SimulateLoadFromDatabase() As DataTable
    Dim dt As New DataTable With {.TableName = "MyTable"}
    dt.Columns.Add(New DataColumn With {.ColumnName = "Identifier", .DataType = GetType(Int32),
    .AutoIncrement = True, .AutoIncrementSeed = 1})
    dt.Columns.Add(New DataColumn With {.ColumnName = "Name", .DataType = GetType(String)})
    dt.Columns.Add(New DataColumn With {.ColumnName = "Age", .DataType = GetType(Int32)})
    dt.Rows.Add(New Object() {Nothing, "Bill", 13})
    dt.Rows.Add(New Object() {Nothing, "Karen", 14})
    dt.Rows.Add(New Object() {Nothing, "Jim", 13})
    dt.Rows.Add(New Object() {Nothing, "Paul", 15})
    dt.Rows.Add(New Object() {Nothing, "Mike", 14})
    dt.Rows.Add(New Object() {Nothing, "Jill", 13})
    Return dt
    End Function
    End Module
    Output in the IDE output window
    Group: 13 count: 3
    3 Jim
    6 Jill
    1 Bill
    Group: 14 count: 2
    5 Mike
    2 Karen
    Group: 15 count: 1
    4 Paul
    This data can be used to populate control text
    13 3
    14 2
    15 1
    Please remember to mark the replies as answers if they help and unmark them if they provide no help, this will help others who are looking for solutions to the same or similar problem.

  • Read Text file and count occurences of certain string

    Hello,
    I have a text file with lines of data in it. I would like to read this text file and count how many lines match a certain string of text. 
    For example my text file has this data in it.
    dog,blue,big
    dog,red,small
    dog,blue,big
    cat,blue,big
    If the certain string of text is "dog,blue,big" then the count would return "2".
    Thanks for your help

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    In addition, if you are working with Windows Forms app. please consult on Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If you are working with WPF app, please consult on WPF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
    If you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Visual Studio Language Forums:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Total count and count based on column value

    Primaryid  Id     Status
    1            50          1
    2            50          1
    3          50          1
    4            50          3
    5           50          2
    6            50          1
    7            51         1
    8            51         2Im looking for a query which returns total count of rows for id 50 and count of rows with status 1
    something like
    Id    count_total   count_total_status1
    50        6              4
    51        2              1Any suggestion ?

    SQL> select * from t4;
    PID ID STATUS
    1 50 1
    2 50 1
    3 50 1
    4 50 3
    5 50 2
    6 50 1
    7 51 1
    8 51 2
    已选择8行。
    SQL> select distinct id,count(id),sum(decode(status,1,1,0)) from t4 group by id;
    ID COUNT(ID) SUM(DECODE(STATUS,1,1,0))
    51 2 1
    50 6 4

  • Max, Min and Count with Group By

    Hello,
    i want the max, min and count of a table, which is grouped by a column
    I need a combination of these two selects:
    select
         max(COUNTRY_S) MAXVALUE,
         min(COUNTRY_S) MINVALUE
    from
         tab_Country
    select
         count(*)
    from
         (select COUNTRY_TXT from tab_Country group by COUNTRY_TXT) ;
    The result should be one row with the max and min value of the table and with the count of the grouped by table, not the max and min of each group! - i hope you understand my question?
    Is this possible in one SQL-select?
    Thank you very much
    Best regards
    Heidi

    Hi, Heidi,
    HeidiWeber wrote:
    Hello,
    i want the max, min and count of a table, which is grouped by a column
    I need a combination of these two selects:
    select 
         max(COUNTRY_S) MAXVALUE, 
         min(COUNTRY_S) MINVALUE 
    from 
         tab_Country 
    select 
         count(*) 
    from 
         (select COUNTRY_TXT from tab_Country group by COUNTRY_TXT) ; 
    The result should be one row with the max and min value of the table and with the count of the grouped by table, not the max and min of each group! - i hope you understand my question?
    Is this possible in one SQL-select?
    Thank you very much
    Best regards
    Heidi
    It's not clear what you want.  Perhaps
    SELECT  MAX (country_s)               AS max_country_s
    ,       MIN (country_s)               AS min_country_s
    ,       COUNT (DISTINCT country_txt)  AS count_country_txt
    FROM    tab_country
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want 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

Maybe you are looking for

  • Apple TV with multiple iTunes accounts

    We have two adults in the home. Both have their own iTunes accounts which are on their own MacBooks. What to do?

  • What The Heck Is A Sequence?

    I've recently graduated from Premiere Elements to Premiere Pro. Congratulations to me!! To get up to speed, I've been watching quite a few videos and reading books, and one thing that keeps popping up is the concept of "sequences". But everybody just

  • External Monitor on an iBook?

    Hello, I have an iBook G3 700 mzh. The monitor no longer work on the computer. It starts up and if I hold a flashlight behind the Apple, I can see that the computer is working. Trying to replace the monitor or inverter is just way to beyond me. I hav

  • GForce4 MX420-T - Unable to see video on external TV/Monitor/VCR

    I am unable to get any watchabe video out via the RCA or S-Video cable from my video card. I do get some garbled rubbish on the screen but it's just the odd bunch of diagonal white lines on a black screen. I have tried this cable on other devices (Ot

  • How do I get the cover of my book to export in ePub correctly?

    My book exports ok except for the cover.  The only way I can keep everything in place is to change it's format to a jpeg.  Then it exports but the cover is to big for the reader screen.  You only see a portion of it.  How do I make it export without