Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8228641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T16:31:35+00:00 2026-06-07T16:31:35+00:00

SELECT C.CompanyId, CompanyName, Server, ServerUsers, ServerUptime, ServerHostName, ServerType FROM CUSTOMERS AS C INNER JOIN

  • 0
SELECT 
    C.CompanyId, 
    CompanyName, 
    Server, 
    ServerUsers, 
    ServerUptime, 
    ServerHostName, 
    ServerType 
FROM 
    CUSTOMERS AS C
INNER JOIN 
    USERS ON C.CompanyId = USERS.CompanyId
WHERE 
    USERS.UserEmail='matt' AND 
    USERS.UserPin='5153' AND 
    (SELECT Status FROM 4321_BlackBerryServices LIMIT 0,1)
LIMIT 0, 8

Currently my table is below

        4321    T1 Solutions    EXCH-01 392 47 days, 17 min exch01.myCorp.com   ExchangeServices
        4321    T1 Solutions    EXCH-02 685 47 days, 17 min exch02.myCorp.com   ExchangeServices
        4321    T1 Solutions    Lync-01 368 47 days, 17 min lync01.myCorp.com   LyncServices
        4321    T1 Solutions    Lync-02 890 458 days, 58 min    lync02.myCorp.com   LyncServices

What i would like to do is add the last result from Status FROM 4321_BlackBerryServices so i would want to add the latest status for each server in my table

how is this possible ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T16:31:37+00:00Added an answer on June 7, 2026 at 4:31 pm

    If I understand what you need, try this:

    SELECT 
        C.CompanyId, CompanyName, Server, ServerUsers, 
        ServerUptime, ServerHostName, ServerType, 
        (SELECT Status FROM 4321_BlackBerryServices 
         ORDER BY field_you_know DESC LIMIT 0,1) AS BBS_Status
    FROM CUSTOMERS AS C
    INNER JOIN USERS 
        ON C.CompanyId = USERS.CompanyId
       AND USERS.UserEmail = 'matt' 
       AND USERS.UserPin = '5153'
    LIMIT 0, 8
    

    In my query field_you_know field is the one you know you can sort the table to take the last one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following query: SELECT ,e.EmployeeCode ,c.CompanyName ,v.Violation FROM dbo.Employee e INNER JOIN
SELECT * From `users` AS `User` LEFT JOIN `selections` AS `Selections` ON (`Selections`.`user_id` =
Whats the difference between SELECT DISTINCT field1 FROM table1 cd JOIN table2 ON cd.Company
i've a query select c.name as companyname, u.name,u.email,u.role,a.date from useraccount u, company c, audittrial
I have the following line of code. <%= Html.Encode(string.Join(, , item.company1.companies.Select(x => x.company_name).ToArray())) %>
I'm using Oracle 10.2 and have the following query: select h.company, count(*) from history
My code contain SELECT * FROM newchap WHERE company LIKE '%$company%' OR Category LIKE
SELECT REPLACE([strUrl], '/myoldurl', '/mynewurl') FROM [UrlRewrite] If strUrl is /myoldurl/myoldurl_something_else , it returns /mynewurl/mynewurl_something_else
SELECT Id,Date,Name FROM people WHERE DATEPART(hh,Date) >= 7 AND DATEPART(hh,Date) <= 8 Order by
select tf.Id,tf.Name,tf.LName,tf.Rank,tf.Category where tf.Id not in (select fighter_id from tbl_player_fighter where league_id=91) and tf.Status

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.