Jump to content

sql doubt


nikhilboorla

Recommended Posts

27 minutes ago, nikhilboorla said:

 

sorry..i have removed this line...Pending tickets backlog i am able to do until yesterday but i want to calculate overall tickets until yesterday(except today)

Hope u tried with <= too ?? 

Link to comment
Share on other sites

5 hours ago, nikhilboorla said:

columns mentioned in the query are the ones...no additional columns

Exact Table structure veyyi.. with some sample data.

 

 

8 hours ago, nikhilboorla said:

I need to find Converted from Pending tickets to Open also using above query.

is there any field (column) which let us know the status changes in that table ?

Link to comment
Share on other sites

6 minutes ago, duryaodhana said:

Exact Table structure veyyi.. with some sample data.

 

 

is there any field (column) which let us know the status changes in that table ?

stage_name will give the ticket status like Open,In Progress,Pending Credential,CLosed...i only need Pending Credential

Link to comment
Share on other sites

28 minutes ago, nikhilboorla said:

stage_name will give the ticket status like Open,In Progress,Pending Credential,CLosed...i only need Pending Credential

Is your table have Audit data?  Like for the same Ticketnumber, all the status changes are stored in one table ?

 

Sounds like, you don't have any sensitive data in that table..You can post some data here... or Direct Message me.  
Provide more information. 

Link to comment
Share on other sites

1 hour ago, duryaodhana said:

Is your table have Audit data?  Like for the same Ticketnumber, all the status changes are stored in one table ?

 

Sounds like, you don't have any sensitive data in that table..You can post some data here... or Direct Message me.  
Provide more information. 

PM'd you

Link to comment
Share on other sites

2 hours ago, nikhilboorla said:

stage_name will give the ticket status like Open,In Progress,Pending Credential,CLosed...i only need Pending Credential

You need Pending Credentials data. But we need to understand the table content so any one can help  you.

You also send the status might come to Open as well. so you need give sample raw data and desired out come from sample data. 

Just telling requirement won't sufficient for any one.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...